projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
803fb12
)
don't compare signed and unsigned
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 4 Feb 2004 07:48:46 +0000
(07:48 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 4 Feb 2004 07:48:46 +0000
(07:48 +0000)
ares/ares_strerror.c
patch
|
blob
|
history
diff --git
a/ares/ares_strerror.c
b/ares/ares_strerror.c
index
7918e66
..
5c285eb
100644
(file)
--- 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];
}