mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
suppress compiler warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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)
|
static void rxqcheck (char *dir, char *queue, char *process)
|
||||||
{
|
{
|
||||||
char *p;
|
char *p;
|
||||||
|
void *pp = &p;
|
||||||
char dirname[100],
|
char dirname[100],
|
||||||
temp[100];
|
temp[100];
|
||||||
DIR *d;
|
DIR *d;
|
||||||
@@ -267,7 +268,7 @@ static void rxqcheck (char *dir, char *queue, char *process)
|
|||||||
{ /* read the user data as UTF-8 */
|
{ /* read the user data as UTF-8 */
|
||||||
long v;
|
long v;
|
||||||
udl = 0;
|
udl = 0;
|
||||||
while ((v = utf8decode ((unsigned char **) &p)) && udl < 160)
|
while ((v = utf8decode (pp)) && udl < 160)
|
||||||
if (v && v <= 0xFFFF)
|
if (v && v <= 0xFFFF)
|
||||||
ud[udl++] = v;
|
ud[udl++] = v;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user