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:
fd704f8
)
typecase the isspace() argument to int
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 16 Aug 2005 07:32:50 +0000
(07:32 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 16 Aug 2005 07:32:50 +0000
(07:32 +0000)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
07f133b
..
3b9046d
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-381,7
+381,7
@@
static void warnf(struct Configurable *config, const char *fmt, ...)
if(len > (int)WARN_TEXTWIDTH) {
int cut = WARN_TEXTWIDTH-1;
- while(!isspace(ptr[cut]) && cut) {
+ while(!isspace(
(int)
ptr[cut]) && cut) {
cut--;
}