Avoid use of strncmpi (reported by Ron Cemer).
This commit is contained in:
parent
51f5842089
commit
6f363dfcd2
|
@ -229,7 +229,7 @@ HKEY getDataType(LPSTR *lpValue)
|
||||||
for (; counter < LAST_TYPE_MAP; counter++)
|
for (; counter < LAST_TYPE_MAP; counter++)
|
||||||
{
|
{
|
||||||
LONG len = strlen(typeMap[counter].mask);
|
LONG len = strlen(typeMap[counter].mask);
|
||||||
if ( strncmpi( *lpValue, typeMap[counter].mask, len) == IDENTICAL)
|
if ( lstrncmpi( *lpValue, typeMap[counter].mask, len) == IDENTICAL)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* We found it, modify the value's pointer in order to skip the data
|
* We found it, modify the value's pointer in order to skip the data
|
||||||
|
|
Loading…
Reference in New Issue