projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove leftover warnings
[fio.git]
/
os
/
os-linux.h
diff --git
a/os/os-linux.h
b/os/os-linux.h
index 695e9dad0fc04204b20f94901be68801581c3904..ba53590d01a22611469c3733a3fbd25b1d449684 100644
(file)
--- a/
os/os-linux.h
+++ b/
os/os-linux.h
@@
-315,11
+315,9
@@
static inline void make_pos_h_l(unsigned long *pos_h, unsigned long *pos_l,
off_t offset)
{
#if BITS_PER_LONG == 64
-#warning 64
*pos_l = offset;
*pos_h = 0;
#else
-#warning 32
*pos_l = offset & 0xffffffff;
*pos_h = ((uint64_t) offset) >> 32;
#endif