[libss7-commits] mattf: trunk r9 - /trunk/isup.c

libss7-commits at lists.digium.com libss7-commits at lists.digium.com
Fri Aug 4 10:32:15 MST 2006


Author: mattf
Date: Fri Aug  4 12:32:14 2006
New Revision: 9

URL: http://svn.digium.com/view/libss7?rev=9&view=rev
Log:
Fix more signedness issues. (#7658)

Modified:
    trunk/isup.c

Modified: trunk/isup.c
URL: http://svn.digium.com/view/libss7/trunk/isup.c?rev=9&r1=8&r2=9&view=diff
==============================================================================
--- trunk/isup.c (original)
+++ trunk/isup.c Fri Aug  4 12:32:14 2006
@@ -169,7 +169,7 @@
 	ss7_message(ss7, "]\n");
 }
 
-static void isup_get_number(char *dest, char *src, int srclen, int oddeven)
+static void isup_get_number(char *dest, unsigned char *src, int srclen, int oddeven)
 {
 	int i;
 	for (i = 0; i < ((srclen * 2) - oddeven); i++)
@@ -178,7 +178,7 @@
 	dest[i] = '\0'; 
 }
 
-static void isup_put_number(char *dest, char *src, int *len, int *oddeven)
+static void isup_put_number(unsigned char *dest, char *src, int *len, int *oddeven)
 {
 	int i = 0;
 	int numlen = strlen(src);



More information about the libss7-commits mailing list