Author: infinoid
Date: Sun Nov 30 14:58:20 2008
New Revision: 33384
Modified:
trunk/src/nci_test.c
Log:
[CAGE] Fix a warning in src/nci_test.c, by adding "const".
src/nci_test.c: In function 'nci_vV':
src/nci_test.c:1170: warning: assignment discards qualifiers from pointer
target type
Modified: trunk/src/nci_test.c
==============================================================================
--- trunk/src/nci_test.c (original)
+++ trunk/src/nci_test.c Sun Nov 30 14:58:20 2008
@@ -107,7 +107,7 @@
PARROT_EXPORT void nci_vp(Opaque*);
PARROT_EXPORT char * nci_ttt(char *, char *);
PARROT_EXPORT void nci_vfff(float, float, float);
-PARROT_EXPORT void nci_vV(char **);
+PARROT_EXPORT void nci_vV(const char **);
/* Declarations for callback tests */
@@ -1165,7 +1165,7 @@
*/
PARROT_EXPORT void
-nci_vV(char **ptr)
+nci_vV(const char **ptr)
{
*ptr = "Hello bright new world\n";
}