summaryrefslogtreecommitdiffstats
path: root/tapset-timers.cxx
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-12-01 15:14:02 -0500
committerDave Brolley <brolley@redhat.com>2009-12-01 15:14:02 -0500
commitb25765bd1c90bbbca20c36a25c51fff5e7db0884 (patch)
treed5a3384b89a055360e8f8ebc479727bef36cf34f /tapset-timers.cxx
parent8c859ce37271f35d0b93cd40f121af7b04621238 (diff)
parent89a75eb6a5a6dc345a718ffbd119651222686026 (diff)
downloadsystemtap-steved-b25765bd1c90bbbca20c36a25c51fff5e7db0884.tar.gz
systemtap-steved-b25765bd1c90bbbca20c36a25c51fff5e7db0884.tar.xz
systemtap-steved-b25765bd1c90bbbca20c36a25c51fff5e7db0884.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'tapset-timers.cxx')
-rw-r--r--tapset-timers.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset-timers.cxx b/tapset-timers.cxx
index 65746266..7195cfaf 100644
--- a/tapset-timers.cxx
+++ b/tapset-timers.cxx
@@ -241,7 +241,7 @@ hrtimer_derived_probe_group::emit_interval (translator_output* o)
{
o->line() << "({";
o->newline(1) << "unsigned long nsecs;";
- o->newline() << "int64_t i = stp->intrv;";
+ o->newline() << "uint64_t i = stp->intrv;";
o->newline() << "if (stp->rnd != 0) {";
// XXX: why not use stp_random_pm instead of this?
o->newline(1) << "int64_t r;";