From: Jim Meyering Date: Sat, 22 Nov 2003 15:07:36 +0000 (+0000) Subject: (x2nrealloc_inline): Fix typos in comments: s/size/size_t/. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e03434d6fa01da0f148115459893c2fb8d21ae7;p=pspp (x2nrealloc_inline): Fix typos in comments: s/size/size_t/. --- diff --git a/lib/xmalloc.c b/lib/xmalloc.c index 20d85d83aa..181006b43d 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -136,8 +136,8 @@ xrealloc (void *p, size_t n) Here is an example of use: int *p = NULL; - size used = 0; - size allocated = 0; + size_t used = 0; + size_t allocated = 0; void append_int (int value) @@ -155,9 +155,9 @@ xrealloc (void *p, size_t n) example: int *p = NULL; - size used = 0; - size allocated = 0; - size allocated1 = 1000; + size_t used = 0; + size_t allocated = 0; + size_t allocated1 = 1000; void append_int (int value)