httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgollu...@apache.org
Subject svn commit: r712836 - /httpd/mod_wombat/trunk/vmprep.c
Date Mon, 10 Nov 2008 21:15:49 GMT
Author: pgollucci
Date: Mon Nov 10 13:15:49 2008
New Revision: 712836

URL: http://svn.apache.org/viewvc?rev=712836&view=rev
Log:
deal with trying to display pointers in printf(3) modifiers for 64bit platform compatability

(now compiles on FreeBSD 7.x-amd64)


Modified:
    httpd/mod_wombat/trunk/vmprep.c

Modified: httpd/mod_wombat/trunk/vmprep.c
URL: http://svn.apache.org/viewvc/httpd/mod_wombat/trunk/vmprep.c?rev=712836&r1=712835&r2=712836&view=diff
==============================================================================
--- httpd/mod_wombat/trunk/vmprep.c (original)
+++ httpd/mod_wombat/trunk/vmprep.c Mon Nov 10 13:15:49 2008
@@ -358,7 +358,7 @@
     
     /* apr_pool_cleanup_register(r->pool, L, cleanup_lua, apr_pool_cleanup_null); */
     
-    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, server, "Acquired lua_State %d", (int)L);
+    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, server, "Acquired lua_State %p", L);
     return L;
 }
 
@@ -368,7 +368,7 @@
     apw_request_cfg *cfg = ap_get_module_config(r->request_config, &wombat_module);
     apw_server_cfg *server_cfg = ap_get_module_config(r->server->module_config, &wombat_module);
   
     
-    ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "got module config! %d", (int)cfg);
+    ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "got module config! %p", cfg);
     lua_State *L = apr_hash_get(cfg->request_scoped_vms, spec->file, APR_HASH_KEY_STRING);
     if (!L) {
         L = create_vm(spec, server_cfg->code_cache, r->pool);



Mime
View raw message