Merge pull request #431 from McNopper/master_norbert_warning_fix
Removed compiler GCC warning.
This commit is contained in:
commit
1f8f92e73f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user