diff options
author | Russell Bryant <russell@russellbryant.com> | 2006-07-07 16:01:36 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2006-07-07 16:01:36 +0000 |
commit | 7791079219aea6b5c1af44c03b78e54dee89e18a (patch) | |
tree | 4660277bf7ead6e8b3752a5c1491f4a09786c819 | |
parent | 41bfcf3c57f7e8a83492f024f39c8ff4eff92bb2 (diff) |
pointer signedness warnings cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | apps/app_sms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_sms.c b/apps/app_sms.c index b11653d79..de07fdb18 100644 --- a/apps/app_sms.c +++ b/apps/app_sms.c @@ -693,7 +693,7 @@ static void sms_readfile (sms_t * h, char *fn) } while (fgets (line, sizeof (line), s)) { /* process line in file */ - unsigned char *p; + char *p; for (p = line; *p && *p != '\n' && *p != '\r'; p++); *p = 0; /* strip eoln */ p = line; @@ -713,7 +713,7 @@ static void sms_readfile (sms_t * h, char *fn) { /* parse message (UTF-8) */ unsigned char o = 0; while (*p && o < SMSLEN) - h->ud[o++] = utf8decode(&p); + h->ud[o++] = utf8decode((unsigned char **) &p); h->udl = o; if (*p) ast_log (LOG_WARNING, "UD too long in %s\n", fn); |