1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

don't compare signed and unsigned

This commit is contained in:
Daniel Stenberg 2004-02-04 07:48:46 +00:00
parent 803fb123cb
commit 79f9914af8

View File

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