summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
Diffstat (limited to 'strings')
-rw-r--r--strings/apr_strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/apr_strings.c b/strings/apr_strings.c
index 2d0eda790..d7ae082b6 100644
--- a/strings/apr_strings.c
+++ b/strings/apr_strings.c
@@ -227,7 +227,7 @@ APR_DECLARE(char *) apr_off_t_toa(apr_pool_t *p, apr_off_t n)
}
*start = 0;
do {
- *--start = '0' + (n % 10);
+ *--start = '0' + (char)(n % 10);
n /= 10;
} while (n);
if (negative) {