#if defined(PLATFORM_LINUX)
bTrue = (strncasecmp(arg, "true", 4) == 0);
#elif defined(PLATFORM_WINDOWS)
- bTrue = (strnicmp(arg, "true", 4) == 0);
+ bTrue = (_strnicmp(arg, "true", 4) == 0);
#endif
*pSetting->Data.pBool = bTrue;
}
{
// a group was found!
unsigned int i;
- char* pGroupName = glv_allocate_and_copy_n(pOpenBracket + 1, pCloseBracket - pOpenBracket - 1);
+ char* pGroupName = glv_allocate_and_copy_n(pOpenBracket + 1,
+ (int) (pCloseBracket - pOpenBracket - 1));
// Check to see if we already have this group
pCurGroup = NULL;