]> git.kaiwu.me - nginx.git/commitdiff
Fixed broken build.
authorRuslan Ermilov <ru@nginx.com>
Mon, 28 May 2012 14:20:04 +0000 (14:20 +0000)
committerRuslan Ermilov <ru@nginx.com>
Mon, 28 May 2012 14:20:04 +0000 (14:20 +0000)
src/http/modules/ngx_http_geoip_module.c

index 8da18e957171f5aab640d8dfe97efede17c8237f..66cd3fb21c35ff4aefbac148dd5b725ccb2e630a 100644 (file)
@@ -310,7 +310,7 @@ ngx_http_geoip_org_variable(ngx_http_request_t *r,
     len = ngx_strlen(val);
     v->data = ngx_pnalloc(r->pool, len);
     if (v->data == NULL) {
-        ngx_free(val);
+        ngx_free((void *) val);
         return NGX_ERROR;
     }
 
@@ -321,7 +321,7 @@ ngx_http_geoip_org_variable(ngx_http_request_t *r,
     v->no_cacheable = 0;
     v->not_found = 0;
 
-    ngx_free(val);
+    ngx_free((void *) val);
 
     return NGX_OK;