From: William A. Rowe Jr Date: Mon, 1 Apr 2002 02:41:08 +0000 (+0000) Subject: pointer subtraction yeilds a ssize_t, fix emit by notating the X-Git-Tag: 2.0.35~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f9fa4e4cdff3d6763b0c195306103efeb80967d;p=thirdparty%2Fapache%2Fhttpd.git pointer subtraction yeilds a ssize_t, fix emit by notating the expression in terms of addition git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94351 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index 9eb279553d4..5004c8fec56 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -866,7 +866,7 @@ static void ap_ssi_get_tag_and_value(include_ctx_t *ctx, char **tag, char term = '\0'; *tag_val = NULL; - if (ctx->curr_tag_pos - ctx->combined_tag > ctx->tag_length) { + if (ctx->curr_tag_pos > ctx->combined_tag + ctx->tag_length) { *tag = NULL; return; }