projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix "cast from pointer to integer of different size" warning on OpenBSD
[fio.git]
/
os
/
os-openbsd.h
diff --git
a/os/os-openbsd.h
b/os/os-openbsd.h
index 7def4326786d9b8e9d24f5f69b3d6fa0dd556462..9c7092c8ef4908a682323b4065d18445430bc076 100644
(file)
--- a/
os/os-openbsd.h
+++ b/
os/os-openbsd.h
@@
-68,7
+68,7
@@
static inline unsigned long long os_phys_mem(void)
static inline int gettid(void)
{
- return (int) pthread_self();
+ return (int)
(intptr_t)
pthread_self();
}
static inline unsigned long long get_fs_free_size(const char *path)