winedump: Don't use strncat with source length.
gcc is now warning about this. Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ba9f3dc198
commit
9b94096448
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue