diff options
author | Ricardo M. Correia <[email protected]> | 2010-08-26 09:52:39 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-08-26 15:18:01 -0700 |
commit | c5b3a7bbcc321846bb15ff73c6fd6f1c483b6aa6 (patch) | |
tree | 13dbcada2efd02b5bc9ca39fe2d50c9904200351 /cmd/ztest/ztest.c | |
parent | 572e285762521df27fe5b026f409ba1a21abb7ac (diff) |
Fix gcc 64-bit constant warnings
Add 'ull' suffix to 64-bit constants.
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'cmd/ztest/ztest.c')
-rw-r--r-- | cmd/ztest/ztest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index b2d81b558..46d3410e3 100644 --- a/cmd/ztest/ztest.c +++ b/cmd/ztest/ztest.c @@ -4399,7 +4399,7 @@ ztest_fault_inject(ztest_ds_t *zd, uint64_t id) int fd; uint64_t offset; uint64_t leaves; - uint64_t bad = 0x1990c0ffeedecade; + uint64_t bad = 0x1990c0ffeedecadeull; uint64_t top, leaf; char path0[MAXPATHLEN]; char pathrand[MAXPATHLEN]; |