From: Jaakko Heinonen Date: Sat, 22 Nov 2003 15:51:36 +0000 (+0000) Subject: int -> size_t changes X-Git-Tag: upstream/0.6.1~2^2~229 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=c210816e1a9bc660852b7eea604cdcbcc7c144f4;p=pkg%2Fabook.git int -> size_t changes --- diff --git a/misc.c b/misc.c index 8a4b9cf..f54b1c9 100644 --- a/misc.c +++ b/misc.c @@ -85,7 +85,7 @@ char * mkstr (const char *format, ... ) { MY_VA_LOCAL_DECL; - int size = 100; + size_t size = 100; char *buffer = #ifdef ABOOK_SRC (char *) abook_malloc (size); @@ -188,7 +188,7 @@ char * my_getcwd() { char *dir = NULL; - int size = 100; + size_t size = 100; if( (dir = (char *)malloc(size)) == NULL) return NULL;