diff options
author | Anthony Ramine <[email protected]> | 2013-04-28 13:50:27 +0200 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2013-04-30 10:11:17 +0200 |
commit | 691f8f7f180e970aea155d1741cd9f5e66741a20 (patch) | |
tree | 5a4b73ef2fe2ee8e3662d919c56012aea9222d68 /erts/emulator/beam/erl_bif_trace.c | |
parent | 38974713b1527c08b71cefe4b5300b6f01c2579d (diff) | |
download | otp-691f8f7f180e970aea155d1741cd9f5e66741a20.tar.gz otp-691f8f7f180e970aea155d1741cd9f5e66741a20.tar.bz2 otp-691f8f7f180e970aea155d1741cd9f5e66741a20.zip |
Fix some sign warnings found with Clang
Diffstat (limited to 'erts/emulator/beam/erl_bif_trace.c')
-rw-r--r-- | erts/emulator/beam/erl_bif_trace.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_bif_trace.c b/erts/emulator/beam/erl_bif_trace.c index 41c98bbffb..559cb3efa1 100644 --- a/erts/emulator/beam/erl_bif_trace.c +++ b/erts/emulator/beam/erl_bif_trace.c @@ -1224,9 +1224,7 @@ trace_info_func(Process* p, Eterm func_spec, Eterm key) match_spec_meta = NIL; } if (r & FUNC_TRACE_COUNT_TRACE) { - c = count < 0 ? - erts_make_integer(-count-1, p) : - erts_make_integer(count, p); + c = erts_make_integer(count, p); } if (r & FUNC_TRACE_TIME_TRACE) { ct = call_time; |