diff options
Diffstat (limited to 'cord')
-rw-r--r-- | cord/tests/de_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cord/tests/de_win.c b/cord/tests/de_win.c index 2d2c528d..e51c3b65 100644 --- a/cord/tests/de_win.c +++ b/cord/tests/de_win.c @@ -156,7 +156,7 @@ char * control_chars(char * text, size_t len) if (NULL == result) return NULL; for (i = 0; i < len; i++) { if (iscntrl(((unsigned char *)text)[i])) { - result[i] = text[i] + 0x40; + result[i] = (char)(text[i] + 0x40); } else { result[i] = ' '; } |