=================================================================== RCS file: /cvs/prex-old/sys/lib/vsprintf.c,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.1.2.1 diff -u -r1.1.1.1 -r1.1.1.1.2.1 --- prex-old/sys/lib/vsprintf.c 2008/06/03 10:38:46 1.1.1.1 +++ prex-old/sys/lib/vsprintf.c 2008/08/13 17:12:32 1.1.1.1.2.1 @@ -36,10 +36,10 @@ #define isdigit(c) ((unsigned)((c) - '0') < 10) -static int +static u_long divide(long *n, int base) { - int res; + u_long res; res = ((u_long)*n) % base; *n = ((u_long)*n) / base;