diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-11-15 10:03:22 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-11-15 10:03:22 +0000 |
| commit | a6d60f9c8de1dfc6e40f7c73bcdb403dd69d97be (patch) | |
| tree | 579ddd62b40cc487c2e7a4d581a946d641a70f60 /src/runtime/c/pgf | |
| parent | d997df2864a29986d7146aa4dc69d9be879718cc (diff) | |
fixes in the C runtime to avoid warnings when compiling on MacOS
Diffstat (limited to 'src/runtime/c/pgf')
| -rw-r--r-- | src/runtime/c/pgf/lightning/i386/core-64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/c/pgf/lightning/i386/core-64.h b/src/runtime/c/pgf/lightning/i386/core-64.h index 4a856d96c..2d5380f40 100644 --- a/src/runtime/c/pgf/lightning/i386/core-64.h +++ b/src/runtime/c/pgf/lightning/i386/core-64.h @@ -193,7 +193,7 @@ struct jit_local_state { #define jit_retval_l(rd) ((void)jit_movr_l ((rd), _EAX)) #define jit_arg_i() (_jitl.nextarg_geti < JIT_ARG_MAX \ ? _jitl.nextarg_geti++ \ - : ((_jitl.framesize += sizeof(long)) - sizeof(long))) + : (int) ((_jitl.framesize += sizeof(long)) - sizeof(long))) #define jit_arg_c() jit_arg_i() #define jit_arg_uc() jit_arg_i() #define jit_arg_s() jit_arg_i() |
