suppress compiler warning

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant 2006-08-29 13:48:15 +00:00
parent f7cac071d9
commit 1627052cf1
1 changed files with 2 additions and 1 deletions

View File

@ -192,6 +192,7 @@ static char txqcheck (char *dir, char *queue, char subaddress, char *channel, ch
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 @@ static void rxqcheck (char *dir, char *queue, char *process)
{ /* 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;
}