diff options
author | gnn <gnn@FreeBSD.org> | 2012-07-17 14:36:40 +0000 |
---|---|---|
committer | gnn <gnn@FreeBSD.org> | 2012-07-17 14:36:40 +0000 |
commit | b3c14b7d4a1c51dc4a0a2c31de89a4e23f1b1952 (patch) | |
tree | 18395e14fc3a9e635cf6e3427a01a54fe950c011 /sys/cddl/dev/dtrace | |
parent | 0678fa51d135f34a2d9853d839e6ef0d2bbc1183 (diff) | |
download | FreeBSD-src-b3c14b7d4a1c51dc4a0a2c31de89a4e23f1b1952.zip FreeBSD-src-b3c14b7d4a1c51dc4a0a2c31de89a4e23f1b1952.tar.gz |
Change UL to ULL since time is 32 bits.
Pointed out by: avg@
MFC after: 2 weeks
Diffstat (limited to 'sys/cddl/dev/dtrace')
-rw-r--r-- | sys/cddl/dev/dtrace/amd64/dtrace_subr.c | 2 | ||||
-rw-r--r-- | sys/cddl/dev/dtrace/i386/dtrace_subr.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/cddl/dev/dtrace/amd64/dtrace_subr.c b/sys/cddl/dev/dtrace/amd64/dtrace_subr.c index 00e3e24..1ec1509 100644 --- a/sys/cddl/dev/dtrace/amd64/dtrace_subr.c +++ b/sys/cddl/dev/dtrace/amd64/dtrace_subr.c @@ -467,7 +467,7 @@ dtrace_gethrestime(void) dtrace_getnanotime(¤t_time); - return (current_time.tv_sec * 1000000000UL + current_time.tv_nsec); + return (current_time.tv_sec * 1000000000ULL + current_time.tv_nsec); } /* Function to handle DTrace traps during probes. See amd64/amd64/trap.c */ diff --git a/sys/cddl/dev/dtrace/i386/dtrace_subr.c b/sys/cddl/dev/dtrace/i386/dtrace_subr.c index 551e035..49e5c76 100644 --- a/sys/cddl/dev/dtrace/i386/dtrace_subr.c +++ b/sys/cddl/dev/dtrace/i386/dtrace_subr.c @@ -468,7 +468,7 @@ dtrace_gethrestime(void) dtrace_getnanotime(¤t_time); - return (current_time.tv_sec * 1000000000UL + current_time.tv_nsec); + return (current_time.tv_sec * 1000000000ULL + current_time.tv_nsec); } /* Function to handle DTrace traps during probes. See i386/i386/trap.c */ |