diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-04 07:48:46 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-04 07:48:46 +0000 |
commit | 79f9914af84f8d70fb56cbad2de095f9733eabae (patch) | |
tree | 82e453c358f87fe98160d3b956414d11e757f267 | |
parent | 803fb123cb3bfc7f54b638300dc03e58b5fc8d59 (diff) |
don't compare signed and unsigned
-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]; } |