diff options
Diffstat (limited to 'boehm-gc/cord')
-rw-r--r-- | boehm-gc/cord/cordprnt.c | 6 | ||||
-rw-r--r-- | boehm-gc/cord/cordtest.c | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | boehm-gc/cord/de_win.ICO | bin | 766 -> 766 bytes |
3 files changed, 4 insertions, 4 deletions
diff --git a/boehm-gc/cord/cordprnt.c b/boehm-gc/cord/cordprnt.c index ad937b02d4e..6d278feda65 100644 --- a/boehm-gc/cord/cordprnt.c +++ b/boehm-gc/cord/cordprnt.c @@ -59,7 +59,7 @@ static int extract_conv_spec(CORD_pos source, char *buf, register int result = 0; register int current_number = 0; register int saw_period = 0; - register int saw_number; + register int saw_number = 0; register int chars_so_far = 0; register char current; @@ -243,7 +243,7 @@ int CORD_vsprintf(CORD * out, CORD format, va_list args) char * str = va_arg(args, char *); register char c; - while (c = *str++) { + while ((c = *str++)) { CORD_ec_append(result, c); } goto done; @@ -320,7 +320,7 @@ int CORD_vsprintf(CORD * out, CORD format, va_list args) if (buf != result[0].ec_bufptr) { register char c; - while (c = *buf++) { + while ((c = *buf++)) { CORD_ec_append(result, c); } } else { diff --git a/boehm-gc/cord/cordtest.c b/boehm-gc/cord/cordtest.c index 8f4836a2333..08333ca0434 100644 --- a/boehm-gc/cord/cordtest.c +++ b/boehm-gc/cord/cordtest.c @@ -221,7 +221,7 @@ void test_printf() if (CORD_cmp(result, result2) != 0)ABORT("CORD_sprintf goofed 5"); } -main() +int main() { # ifdef THINK_C printf("cordtest:\n"); diff --git a/boehm-gc/cord/de_win.ICO b/boehm-gc/cord/de_win.ICO Binary files differindex b20ac3ee16a..b20ac3ee16a 100644..100755 --- a/boehm-gc/cord/de_win.ICO +++ b/boehm-gc/cord/de_win.ICO |