[Asterisk-Dev] [PATCH] gcc 4.0.2 warning
Alfred E. Heggestad
alfredh at owera.com
Tue Aug 30 00:55:35 MST 2005
this patch fixes a small warning in app_getcpeid.c:
app_getcpeid.c: In function 'cpeid_setstatus':
app_getcpeid.c:52: warning: pointer targets in assignment differ in signedness
alfredh at dingo:~/cvs/asterisk$ cvs diff -u1 apps/app_getcpeid.c
Index: apps/app_getcpeid.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_getcpeid.c,v
retrieving revision 1.7
diff -u -1 -r1.7 app_getcpeid.c
--- apps/app_getcpeid.c 29 Aug 2005 21:18:35 -0000 1.7
+++ apps/app_getcpeid.c 30 Aug 2005 07:52:08 -0000
@@ -51,3 +51,3 @@
for (x=0;x<4;x++)
- tmp[x] = stuff[x];
+ tmp[x] = (unsigned char *)stuff[x];
tmp[4] = NULL;
More information about the asterisk-dev
mailing list