[svn:parrot] r43867 - trunk/src

mikehh at svn.parrot.org mikehh at svn.parrot.org
Wed Feb 10 14:26:55 UTC 2010


Author: mikehh
Date: Wed Feb 10 14:26:54 2010
New Revision: 43867
URL: https://trac.parrot.org/parrot/changeset/43867

Log:
add cast to src/main.c to allow g++ to build

Modified:
   trunk/src/main.c

Modified: trunk/src/main.c
==============================================================================
--- trunk/src/main.c	Wed Feb 10 14:20:03 2010	(r43866)
+++ trunk/src/main.c	Wed Feb 10 14:26:54 2010	(r43867)
@@ -414,7 +414,7 @@
             break;
           case 't':
             if (opt.opt_arg && is_all_hex_digits(opt.opt_arg))
-                *trace = strtoul(opt.opt_arg, NULL, 16);
+                *trace = (Parrot_trace_flags)strtoul(opt.opt_arg, NULL, 16);
             else
                 *trace = PARROT_TRACE_OPS_FLAG;
             break;


More information about the parrot-commits mailing list