You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2007/03/21 17:11:52 UTC
svn commit: r520930 -
/tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c
Author: mturk
Date: Wed Mar 21 09:11:51 2007
New Revision: 520930
URL: http://svn.apache.org/viewvc?view=rev&rev=520930
Log:
Fix some compile time warning on 64 bit platforms
Modified:
tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c
Modified: tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c?view=diff&rev=520930&r1=520929&r2=520930
==============================================================================
--- tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c (original)
+++ tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c Wed Mar 21 09:11:51 2007
@@ -882,7 +882,7 @@
in a macro that can be changed at configure time. */
static int ap_regexec(const ap_regex_t *preg, const char *string,
- size_t nmatch, ap_regmatch_t pmatch[],
+ int nmatch, ap_regmatch_t pmatch[],
int eflags)
{
int rc;
@@ -1065,7 +1065,7 @@
char *subs = ap_pregsub(src, uri,
AP_MAX_REG_MATCH, regm);
if (subs) {
- int diffsz = strlen(subs) - (regm[0].rm_eo - regm[0].rm_so);
+ size_t diffsz = strlen(subs) - (regm[0].rm_eo - regm[0].rm_so);
char *buf = malloc(INTERNET_MAX_URL_LENGTH);
memcpy(buf, uri, regm[0].rm_so);
StringCbCopy(buf + regm[0].rm_so, INTERNET_MAX_URL_LENGTH, subs);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org