mirror of https://github.com/bkaradzic/bgfx
Fixed GCC-8 warning: ‘%4d’ directive writing between 4 and 11 bytes into a region of size 6
This commit is contained in:
parent
0ecd0bb88f
commit
ab0a09118e
|
@ -344,7 +344,7 @@ ReturnCode fpp_initdefines(struct Global *global)
|
||||||
* Define __DATE__ as today's date.
|
* Define __DATE__ as today's date.
|
||||||
*/
|
*/
|
||||||
dp = fpp_defendel(global, "__DATE__", FPP_FALSE);
|
dp = fpp_defendel(global, "__DATE__", FPP_FALSE);
|
||||||
tp = malloc(14);
|
tp = malloc(32);
|
||||||
if(!tp || !dp)
|
if(!tp || !dp)
|
||||||
return(FPP_OUT_OF_MEMORY);
|
return(FPP_OUT_OF_MEMORY);
|
||||||
dp->repl = tp;
|
dp->repl = tp;
|
||||||
|
|
Loading…
Reference in New Issue