summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorjim <jim@13f79535-47bb-0310-9956-ffa450edef68>2011-01-19 02:51:52 +0000
committerjim <jim@13f79535-47bb-0310-9956-ffa450edef68>2011-01-19 02:51:52 +0000
commit24c36a440ffea4b470dd29ee0c37c3b9089df67a (patch)
treec825a8866ae45a9ba553ba2b9e96a80d02d6924a /strings
parentbc315b56f6ece4faf153767c8681e8058c785fa9 (diff)
downloadlibapr-24c36a440ffea4b470dd29ee0c37c3b9089df67a.tar.gz
quiet warning...
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1060661 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'strings')
-rw-r--r--strings/apr_snprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/strings/apr_snprintf.c b/strings/apr_snprintf.c
index 695739480..7c1aee52e 100644
--- a/strings/apr_snprintf.c
+++ b/strings/apr_snprintf.c
@@ -818,14 +818,14 @@ APR_DECLARE(int) apr_vformatter(int (*flush_func)(apr_vformatter_buff_t *),
* is "d' then the second if condition is never true.
*/
if ((sizeof(APR_OFF_T_FMT) > sizeof(APR_INT64_T_FMT)) &&
- (sizeof(APR_OFF_T_FMT) == 4 &&
+ ((sizeof(APR_OFF_T_FMT) == 4 &&
fmt[0] == APR_OFF_T_FMT[0] &&
fmt[1] == APR_OFF_T_FMT[1]) ||
(sizeof(APR_OFF_T_FMT) == 3 &&
fmt[0] == APR_OFF_T_FMT[0]) ||
(sizeof(APR_OFF_T_FMT) > 4 &&
strncmp(fmt, APR_OFF_T_FMT,
- sizeof(APR_OFF_T_FMT) - 2) == 0)) {
+ sizeof(APR_OFF_T_FMT) - 2) == 0))) {
/* Need to account for trailing 'd' and null in sizeof() */
var_type = IS_QUAD;
fmt += (sizeof(APR_OFF_T_FMT) - 2);