Author: mturk Date: Fri Feb 24 11:29:35 2012 New Revision: 1293187 URL: http://svn.apache.org/viewvc?rev=1293187&view=rev Log: Use correct variable types to suppress compile time warning
Modified: tomcat/native/branches/1.1.x/native/src/sslutils.c Modified: tomcat/native/branches/1.1.x/native/src/sslutils.c URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/native/src/sslutils.c?rev=1293187&r1=1293186&r2=1293187&view=diff ============================================================================== --- tomcat/native/branches/1.1.x/native/src/sslutils.c (original) +++ tomcat/native/branches/1.1.x/native/src/sslutils.c Fri Feb 24 11:29:35 2012 @@ -1082,7 +1082,8 @@ err: #define ADDLEN 512 static OCSP_RESPONSE *ocsp_get_resp(apr_socket_t *sock) { - apr_size_t buflen = 0, totalread = 0; + int buflen; + apr_size_t totalread = 0; apr_size_t readlen; char *buf, tmpbuf[ADDLEN]; apr_status_t rv = APR_SUCCESS; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org