X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Flog.c;h=d0b5370a432e4f27cab1d6053fc6f9d4a745ce78;hp=8823f736ec167a30c2f9f5275287a7e6f6503eff;hb=908d7a4bcee5adb7d4768499282cc83075d0332e;hpb=277e840a0f8e3ec8800cfe7407fe3c16000bc622 diff --git a/src/log.c b/src/log.c index 8823f736..d0b5370a 100644 --- a/src/log.c +++ b/src/log.c @@ -208,7 +208,7 @@ saved_append_1 (const char *start, const char *end) { /* Allocate memory and concatenate the old and the new contents. */ - ln->malloced_line = (char *)xmalloc (old_len + len + 1); + ln->malloced_line = xmalloc (old_len + len + 1); memcpy (ln->malloced_line, ln->static_line, old_len); memcpy (ln->malloced_line + old_len, start, len);