[svn:mod_parrot] r605 - mod_parrot/trunk/include

[email protected] Fri, 6 Feb 2009 06:16:24 -0800 (PST)
Newsgroups perl.cvs.mod_parrot
Message-ID <[email protected]>
Author: jhorwitz
Date: Fri Feb  6 06:16:24 2009
New Revision: 605

Modified:
   mod_parrot/trunk/include/mod_parrot.h
   mod_parrot/trunk/include/modparrot_config.h

Log:
fix compiler warnings


Modified: mod_parrot/trunk/include/mod_parrot.h
==============================================================================
--- mod_parrot/trunk/include/mod_parrot.h	(original)
+++ mod_parrot/trunk/include/mod_parrot.h	Fri Feb  6 06:16:24 2009
@@ -65,7 +65,7 @@
 struct modparrot_context
 {
     apr_array_header_t *ctx_pool; /* the pool containing this context */
-    char *ctx_pool_name;          /* name of the context pool */
+    const char *ctx_pool_name;    /* name of the context pool */
     Parrot_Interp interp;         /* this context's interpreter */
     Parrot_Interp parent_interp;  /* parent interpreter */
     long count;                   /* number of interpreter invocations */

Modified: mod_parrot/trunk/include/modparrot_config.h
==============================================================================
--- mod_parrot/trunk/include/modparrot_config.h	(original)
+++ mod_parrot/trunk/include/modparrot_config.h	Fri Feb  6 06:16:24 2009
@@ -87,7 +87,7 @@
 
 struct modparrot_module_info
 {
-    char *ctx_pool_name; /* default context pool name for this module */
+    const char *ctx_pool_name; /* default context pool name for this module */
     apr_array_header_t *ctx_pool; /* cached pointer to default context pool */
     Parrot_PMC server_create_sub;
     Parrot_PMC server_merge_sub;