From c210816e1a9bc660852b7eea604cdcbcc7c144f4 Mon Sep 17 00:00:00 2001 From: Jaakko Heinonen Date: Sat, 22 Nov 2003 15:51:36 +0000 Subject: [PATCH] int -> size_t changes --- misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2