develooper Front page | perl.cvs.mod_parrot | Postings from February 2009

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

From:
jhorwitz
Date:
February 6, 2009 06:16
Subject:
[svn:mod_parrot] r605 - mod_parrot/trunk/include
Message ID:
20090206141625.1C6F9CB9AE@x12.develooper.com
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;



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About