summaryrefslogtreecommitdiff
path: root/apps/app_osplookup.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-12-06 07:39:39 +0000
committerRussell Bryant <russell@russellbryant.com>2006-12-06 07:39:39 +0000
commit5824af9cbc354a1570f9fb6363cdfb1b0a4fb2fe (patch)
treea9681aab7dc3fbaae5d67817522a20cf24a30ffe /apps/app_osplookup.c
parentec8591d04cba61952fa57156570764efefd8aef5 (diff)
Resolve some pointer signedness compiler warnings in app_osplookup, and
constify a bunch of usage strings for CLI commands. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_osplookup.c')
-rw-r--r--apps/app_osplookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_osplookup.c b/apps/app_osplookup.c
index 4bdc55a92..3adde50f2 100644
--- a/apps/app_osplookup.c
+++ b/apps/app_osplookup.c
@@ -146,7 +146,7 @@ struct osp_provider {
/* Call ID */
struct osp_callid {
- char buf[OSPC_CALLID_MAXSIZE]; /* Call ID string */
+ unsigned char buf[OSPC_CALLID_MAXSIZE]; /* Call ID string */
unsigned int len; /* Call ID length */
};
@@ -2159,7 +2159,7 @@ static const char* descrip4 =
" OSPFINISHSTATUS The status of the OSP Finish attempt as a text string, one of\n"
" SUCCESS | FAILED | ERROR \n";
-static char osp_usage[] =
+static const char osp_usage[] =
"Usage: osp show\n"
" Displays information on Open Settlement Protocol support\n";