Fixed small double to float conversion warning

This commit is contained in:
vurtun 2016-05-19 20:04:07 +02:00
parent 539dde6cde
commit a96ddc0b10

View File

@ -3386,7 +3386,7 @@ nk_ftos(char *s, float n)
char *c = s;
int neg = 0;
if (n == 0.0) {
if (n == 0.0f) {
s[0] = '0'; s[1] = '\0';
return 1;
}