mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Fix a truncation leading to an error with GCC 7
This commit is contained in:
parent
e795fe8c1b
commit
d338ea9cea
1 changed files with 2 additions and 2 deletions
|
|
@ -232,8 +232,8 @@ test_finalizer_acq_string_t(int i)
|
|||
{
|
||||
gFinalizerTestResources[i] = 1;
|
||||
if (!gFinalizerTestNames[i]) {
|
||||
char* buf = new char[10];
|
||||
snprintf(buf, 10, "%d", i);
|
||||
char* buf = new char[12];
|
||||
snprintf(buf, 12, "%d", i);
|
||||
gFinalizerTestNames[i] = buf;
|
||||
return buf;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue