Fix warning with newest gcc
This commit is contained in:
1 parent
f560839516
commit
93d810421d
1 file changed
+1
-1
@@ -2129,7 +2129,7 @@ m_core_snprintf(char *str, size_t size, const char *format, ...)
|
|||||||
NOTE: C definition using compound litteral.
|
NOTE: C definition using compound litteral.
|
||||||
*/
|
*/
|
||||||
#define M_CSTR(...) \
|
#define M_CSTR(...) \
|
||||||
m_core_snprintf( (char [M_USE_CSTR_ALLOC]){}, M_USE_CSTR_ALLOC, __VA_ARGS__)
|
m_core_snprintf( (char [M_USE_CSTR_ALLOC]){0}, M_USE_CSTR_ALLOC, __VA_ARGS__)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user