diff options
Diffstat (limited to 'ares')
-rw-r--r-- | ares/ares_strerror.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares_strerror.c b/ares/ares_strerror.c index 7918e660c..5c285eb2c 100644 --- a/ares/ares_strerror.c +++ b/ares/ares_strerror.c @@ -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]; } |