[svn:parrot] r48279 - trunk/tools/dev

petdance at svn.parrot.org petdance at svn.parrot.org
Tue Aug 3 06:11:34 UTC 2010


Author: petdance
Date: Tue Aug  3 06:11:34 2010
New Revision: 48279
URL: https://trac.parrot.org/parrot/changeset/48279

Log:
bytecode_size should be expressed as size_t, not int

Modified:
   trunk/tools/dev/pbc_to_exe.pir

Modified: trunk/tools/dev/pbc_to_exe.pir
==============================================================================
--- trunk/tools/dev/pbc_to_exe.pir	Tue Aug  3 05:57:54 2010	(r48278)
+++ trunk/tools/dev/pbc_to_exe.pir	Tue Aug  3 06:11:34 2010	(r48279)
@@ -255,7 +255,7 @@
   read_done:
     ifh.'close'()
 
-    push codestring, "\n};\n\nconst int bytecode_size = "
+    push codestring, "\n};\n\nconst size_t bytecode_size = "
     $S0 = size
     push codestring, $S0
     push codestring, ";\n"
@@ -353,7 +353,7 @@
 
     push codestring, '"'
     push codestring, "\n;\n\n"
-    push codestring, "const int bytecode_size = "
+    push codestring, "const size_t bytecode_size = "
     $S0 = size
     push codestring, $S0
     push codestring, ";\n"


More information about the parrot-commits mailing list