[svn:parrot] r42976 - trunk/src

mikehh at svn.parrot.org mikehh at svn.parrot.org
Thu Dec 10 10:22:56 UTC 2009


Author: mikehh
Date: Thu Dec 10 10:22:56 2009
New Revision: 42976
URL: https://trac.parrot.org/parrot/changeset/42976

Log:
fix src/library.c so it builds with g++

Modified:
   trunk/src/library.c

Modified: trunk/src/library.c
==============================================================================
--- trunk/src/library.c	Thu Dec 10 09:27:03 2009	(r42975)
+++ trunk/src/library.c	Thu Dec 10 10:22:56 2009	(r42976)
@@ -328,7 +328,7 @@
 is_abs_path(ARGIN(const STRING *file))
 {
     ASSERT_ARGS(is_abs_path)
-    const char * const file_name = Buffer_bufstart(file);
+    const char * const file_name = (const char *)Buffer_bufstart(file);
     if (file->strlen <= 1)
         return 0;
     PARROT_ASSERT(file->encoding == Parrot_fixed_8_encoding_ptr ||


More information about the parrot-commits mailing list