diff options
Diffstat (limited to 'lib/strdup.c')
-rw-r--r-- | lib/strdup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strdup.c b/lib/strdup.c index eef9e08ec..7587285a1 100644 --- a/lib/strdup.c +++ b/lib/strdup.c @@ -38,7 +38,7 @@ char *curlx_strdup(const char *str) if(len >= ((size_t)-1) / sizeof(char)) return (char *)NULL; - newstr = (char *) malloc((len+1)*sizeof(char)); + newstr = malloc((len+1)*sizeof(char)); if(!newstr) return (char *)NULL; |