[svn:parrot] r41595 - branches/pcc_reapply/tools/build

NotFound at svn.parrot.org NotFound at svn.parrot.org
Thu Oct 1 20:05:16 UTC 2009


Author: NotFound
Date: Thu Oct  1 20:05:15 2009
New Revision: 41595
URL: https://trac.parrot.org/parrot/changeset/41595

Log:
[cage] fix C++ correcteness in built nci frames

Modified:
   branches/pcc_reapply/tools/build/nativecall.pl

Modified: branches/pcc_reapply/tools/build/nativecall.pl
==============================================================================
--- branches/pcc_reapply/tools/build/nativecall.pl	Thu Oct  1 19:52:04 2009	(r41594)
+++ branches/pcc_reapply/tools/build/nativecall.pl	Thu Oct  1 20:05:15 2009	(r41595)
@@ -314,7 +314,7 @@
     /B/ && do {
         push @{$temps_ref},           "char *s_$temp_num;";
         push @{$temps_ref},           "char *t_$temp_num;";
-        push @{$temps_ref},           "void** v_$temp_num = (void **) &t_$temp_num;";
+        push @{$temps_ref},           "char** v_$temp_num = &t_$temp_num;";
         push @{$temps_ref},           "STRING *ts_$temp_num;";
         push @{$fill_params_ref},     "&ts_$temp_num";
         push @{$extra_preamble_ref},


More information about the parrot-commits mailing list