]> granicus.if.org Git - apache/commitdiff
Cleanup an emit
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 6 Jun 2002 00:16:59 +0000 (00:16 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 6 Jun 2002 00:16:59 +0000 (00:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95536 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_cgi.c

index 1b6902fc482b23410c953ce31410dfd14be991c4..88e70ae20786a099f38be72a664c552975ef1d06 100644 (file)
@@ -124,8 +124,8 @@ static int is_scriptaliased(request_rec *r)
 
 typedef struct {
     const char *logname;
-    long logbytes;
-    int bufbytes;
+    long        logbytes;
+    apr_size_t  bufbytes;
 } cgi_server_conf;
 
 static void *create_cgi_config(apr_pool_t *p, server_rec *s)
@@ -589,7 +589,8 @@ static void discard_script_output(apr_bucket_brigade *bb)
 
 static int cgi_handler(request_rec *r)
 {
-    int nph, dbpos = 0;
+    int nph;
+    apr_size_t dbpos = 0;
     const char *argv0;
     const char *command;
     const char **argv;