remove unsigned/signed comparison

This commit is contained in:
Thomas Bernard 2016-11-11 17:53:21 +01:00
parent ec1c49bb0c
commit 0aa7c46227
1 changed files with 1 additions and 1 deletions

View File

@ -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;