Skip to content

Commit

Permalink
Explicitely cast enum to INTVAL to pacify c++ compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Jan 31, 2011
1 parent a96b35d commit c2ffe55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exceptions.c
Expand Up @@ -108,7 +108,7 @@ die_from_exception(PARROT_INTERP, ARGIN(PMC *exception))

STRING * const message = already_dying ? STRINGNULL :
VTABLE_get_string(interp, exception);
const INTVAL severity = already_dying ? EXCEPT_fatal :
const INTVAL severity = already_dying ? (INTVAL)EXCEPT_fatal :
VTABLE_get_integer_keyed_str(interp, exception, CONST_STRING(interp, "severity"));

if (already_dying)
Expand Down

0 comments on commit c2ffe55

Please sign in to comment.