mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
don't compare signed and unsigned
This commit is contained in:
parent
803fb123cb
commit
79f9914af8
@ -38,6 +38,6 @@ const char *ares_strerror(int code)
|
|||||||
"Out of memory"
|
"Out of memory"
|
||||||
};
|
};
|
||||||
|
|
||||||
assert(code >= 0 && code < (sizeof(errtext) / sizeof(*errtext)));
|
assert(code >= 0 && code < (int)(sizeof(errtext) / sizeof(*errtext)));
|
||||||
return errtext[code];
|
return errtext[code];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user