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 407ea1a84..9d884fd6f 100644
--- a/strings/apr_strings.c
+++ b/strings/apr_strings.c
@@ -268,7 +268,7 @@ APR_DECLARE(char *) apr_ltoa(apr_pool_t *p, long n)
}
*start = 0;
do {
- *--start = '0' + (n % 10);
+ *--start = (char)('0' + (n % 10));
n /= 10;
} while (n);
if (negative) {