mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-20 03:08:56 +00:00
remove unsigned/signed comparison
This commit is contained in:
parent
ec1c49bb0c
commit
0aa7c46227
@ -55,7 +55,7 @@ startelt(void * d, const char * name, int l)
|
||||
pdata->curelt = PortMappingEltNone;
|
||||
for(i = 0; elements[i].str; i++)
|
||||
{
|
||||
if(strlen(elements[i].str) == l && memcmp(name, elements[i].str, l) == 0)
|
||||
if(strlen(elements[i].str) == (size_t)l && memcmp(name, elements[i].str, l) == 0)
|
||||
{
|
||||
pdata->curelt = elements[i].code;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user