[svn:parrot] r44276 - trunk/src

mikehh at svn.parrot.org mikehh at svn.parrot.org
Sun Feb 21 09:38:23 UTC 2010


Author: mikehh
Date: Sun Feb 21 09:38:22 2010
New Revision: 44276
URL: https://trac.parrot.org/parrot/changeset/44276

Log:
add cast to get g++ to build

Modified:
   trunk/src/main.c

Modified: trunk/src/main.c
==============================================================================
--- trunk/src/main.c	Sun Feb 21 06:45:35 2010	(r44275)
+++ trunk/src/main.c	Sun Feb 21 09:38:22 2010	(r44276)
@@ -477,7 +477,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