mirror of
https://github.com/curl/curl.git
synced 2026-05-02 15:37:52 +03:00
don't compare signed and unsigned
This commit is contained in:
parent
803fb123cb
commit
79f9914af8
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue