Merge pull request #431 from McNopper/master_norbert_warning_fix

Removed compiler GCC warning.
This commit is contained in:
Micha Mettke 2017-05-09 17:48:45 +02:00 committed by GitHub
commit 1f8f92e73f

View File

@ -5084,6 +5084,7 @@ nk_dtoa(char *s, double n)
}
#ifdef NK_INCLUDE_STANDARD_VARARGS
#ifndef NK_INCLUDE_STANDARD_IO
static int
nk_vsnprintf(char *buf, int buf_size, const char *fmt, va_list args)
{
@ -5402,6 +5403,7 @@ nk_vsnprintf(char *buf, int buf_size, const char *fmt, va_list args)
result = (len >= buf_size)?-1:len;
return result;
}
#endif
NK_INTERN int
nk_strfmt(char *buf, int buf_size, const char *fmt, va_list args)