winedump: Don't use strncat with source length.

gcc is now warning about this.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Alexandre Julliard 2018-08-15 07:08:04 +02:00
parent ba9f3dc198
commit 9b94096448
1 changed files with 1 additions and 1 deletions

View File

@ -709,7 +709,7 @@ void dump_stabs(const void* pv_stabs, unsigned szstabs, const char* stabstr,
stabbufflen += 65536;
stabbuff = realloc(stabbuff, stabbufflen);
}
strncat(stabbuff, ptr, len - 1);
strcat(stabbuff, ptr);
continue;
}
else if (stabbuff[0] != '\0')