2017-03-25 | Paul Boddie | raw files shortlog changelog graph | Fixed the exit argument. | integers-as-tagged-attrs |
templates/native/system.c (file) |
1.1 --- a/templates/native/system.c Fri Mar 24 19:07:01 2017 +0100 1.2 +++ b/templates/native/system.c Sat Mar 25 00:39:19 2017 +0100 1.3 @@ -31,7 +31,7 @@ 1.4 { 1.5 __attr * const status = &__args[1]; 1.6 1.7 - exit(__VALUE(*status)); 1.8 + exit(__TOINT(*status)); 1.9 return __builtins___none_None; 1.10 } 1.11