diff options
Diffstat (limited to 'debug/vasprintf_chk.c')
-rw-r--r-- | debug/vasprintf_chk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debug/vasprintf_chk.c b/debug/vasprintf_chk.c index a00ef771e6..46603d9538 100644 --- a/debug/vasprintf_chk.c +++ b/debug/vasprintf_chk.c @@ -37,12 +37,12 @@ __vasprintf_chk (char **result_ptr, int flags, const char *format, { /* Initial size of the buffer to be used. Will be doubled each time an overflow occurs. */ - const _IO_size_t init_string_size = 100; + const size_t init_string_size = 100; char *string; _IO_strfile sf; int ret; - _IO_size_t needed; - _IO_size_t allocated; + size_t needed; + size_t allocated; /* No need to clear the memory here (unlike for open_memstream) since we know we will never seek on the stream. */ string = (char *) malloc (init_string_size); |