Fix unused-variable and sign-compare warnings

This commit is contained in:
Inori 2019-10-23 02:31:14 -04:00 committed by Inori
parent 428c936a9c
commit a67e6d2306
2 changed files with 3 additions and 2 deletions

View file

@ -17,8 +17,9 @@
#endif
struct FluidFunctions fluid;
#ifndef SHARED_FLUID
static void *so;
#endif
void initFluidFunctions()
{

View file

@ -74,7 +74,7 @@ const char *getUserLanguage()
#endif
#endif
for (int i = 0; i < strlen(buf); i++)
for (int i = 0; (size_t)i < strlen(buf); i++)
{
#ifdef __WIN32__
if (buf[i] == '-')