summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-05-13 16:09:22 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-05-13 16:09:22 +0000
commit278674ed5881ec38a59f173732d2ce84f26ff5d2 (patch)
tree589ad5d04bb4782ae43fb812e52150b0f47d2ba1 /strings
parent0aea78d19c97d9302ba74c40adf393437b85e714 (diff)
downloadlibapr-278674ed5881ec38a59f173732d2ce84f26ff5d2.tar.gz
Fix a char'ness issue.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63389 13f79535-47bb-0310-9956-ffa450edef68
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) {