diff options
Diffstat (limited to 'fixincludes/fixlib.c')
-rw-r--r-- | fixincludes/fixlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fixincludes/fixlib.c b/fixincludes/fixlib.c index e56328b1621..7ab45c51497 100644 --- a/fixincludes/fixlib.c +++ b/fixincludes/fixlib.c @@ -48,7 +48,7 @@ load_file_data (FILE* fp) if (space_left < 1024) { space_left += 4096; - pz_data = xrealloc (pz_data, space_left + space_used + 1 ); + pz_data = XRESIZEVEC (char, pz_data, space_left + space_used + 1 ); } size_read = fread (pz_data + space_used, 1, space_left, fp); @@ -72,7 +72,7 @@ load_file_data (FILE* fp) space_used += size_read; } while (! feof (fp)); - pz_data = xrealloc (pz_data, space_used+1 ); + pz_data = XRESIZEVEC (char, pz_data, space_used+1 ); pz_data[ space_used ] = NUL; return pz_data; |