[asterisk-commits] russell: trunk r41271 - /trunk/utils/smsq.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Aug 29 06:48:15 MST 2006
Author: russell
Date: Tue Aug 29 08:48:15 2006
New Revision: 41271
URL: http://svn.digium.com/view/asterisk?rev=41271&view=rev
Log:
suppress compiler warning
Modified:
trunk/utils/smsq.c
Modified: trunk/utils/smsq.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/smsq.c?rev=41271&r1=41270&r2=41271&view=diff
==============================================================================
--- trunk/utils/smsq.c (original)
+++ trunk/utils/smsq.c Tue Aug 29 08:48:15 2006
@@ -192,6 +192,7 @@
static void rxqcheck (char *dir, char *queue, char *process)
{
char *p;
+ void *pp = &p;
char dirname[100],
temp[100];
DIR *d;
@@ -267,7 +268,7 @@
{ /* read the user data as UTF-8 */
long v;
udl = 0;
- while ((v = utf8decode ((unsigned char **) &p)) && udl < 160)
+ while ((v = utf8decode (pp)) && udl < 160)
if (v && v <= 0xFFFF)
ud[udl++] = v;
}
More information about the asterisk-commits
mailing list