aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_bif_trace.c
diff options
context:
space:
mode:
authorAnthony Ramine <[email protected]>2013-04-28 13:50:27 +0200
committerAnthony Ramine <[email protected]>2013-04-30 10:11:17 +0200
commit691f8f7f180e970aea155d1741cd9f5e66741a20 (patch)
tree5a4b73ef2fe2ee8e3662d919c56012aea9222d68 /erts/emulator/beam/erl_bif_trace.c
parent38974713b1527c08b71cefe4b5300b6f01c2579d (diff)
downloadotp-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.c4
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;