diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-06 04:28:43 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-06 04:28:43 +0000 |
commit | 861b647e7b1da564b831a5b07312a30feb7b6c58 (patch) | |
tree | 0bf8f137e7db222deefccc94fe3a22eecadba7d8 /lib/base64.c | |
parent | 70e57dad8856c2b99d947344661ae260c6fff594 (diff) | |
download | curl-861b647e7b1da564b831a5b07312a30feb7b6c58.tar.gz |
remove unnecessary typecasting of realloc()
Diffstat (limited to 'lib/base64.c')
-rw-r--r-- | lib/base64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base64.c b/lib/base64.c index 9dbf9f4ea..0453624fb 100644 --- a/lib/base64.c +++ b/lib/base64.c @@ -356,7 +356,7 @@ void *suck(int *lenptr) do { cursize *= 2; - buf = (unsigned char *)realloc(buf, cursize); + buf = realloc(buf, cursize); memset(buf + len, 0, cursize - len); lastread = fread(buf + len, 1, cursize - len, stdin); len += lastread; |