Mercurial > emacs
comparison lib-src/fakemail.c @ 12840:4e9a14304b8b
(xrealloc): Change cast to match return type.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sat, 12 Aug 1995 18:15:28 +0000 |
parents | 25464bf61eb1 |
children | ee40177f6c68 |
comparison
equal
deleted
inserted
replaced
12839:40a12a81cc06 | 12840:4e9a14304b8b |
---|---|
180 xrealloc (ptr, size) | 180 xrealloc (ptr, size) |
181 long *ptr; | 181 long *ptr; |
182 int size; | 182 int size; |
183 { | 183 { |
184 long *result = (long *) realloc (ptr, ((unsigned) size)); | 184 long *result = (long *) realloc (ptr, ((unsigned) size)); |
185 if (result == ((char *) NULL)) | 185 if (result == ((long *) NULL)) |
186 fatal ("virtual memory exhausted"); | 186 fatal ("virtual memory exhausted"); |
187 return result; | 187 return result; |
188 } | 188 } |
189 | 189 |
190 /* Initialize a linebuffer for use */ | 190 /* Initialize a linebuffer for use */ |