mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05: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"
|
||||
};
|
||||
|
||||
assert(code >= 0 && code < (sizeof(errtext) / sizeof(*errtext)));
|
||||
assert(code >= 0 && code < (int)(sizeof(errtext) / sizeof(*errtext)));
|
||||
return errtext[code];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user