summaryrefslogtreecommitdiff
path: root/src/file.h
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2018-10-19 00:33:04 +0000
committerChristos Zoulas <christos@zoulas.com>2018-10-19 00:33:04 +0000
commitc7d910ee8879dfbe80fe14bfc13c8fa6c6fe1d32 (patch)
treeef7796ee9090b77a1db35ce524c385ed3aa2dec1 /src/file.h
parent8d68fb4f0577e6ad646ff12757fa3acdfde9a53d (diff)
downloadfile-git-c7d910ee8879dfbe80fe14bfc13c8fa6c6fe1d32.tar.gz
more lint fixes
Diffstat (limited to 'src/file.h')
-rw-r--r--src/file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file.h b/src/file.h
index 190f3bab..d26b25cc 100644
--- a/src/file.h
+++ b/src/file.h
@@ -27,7 +27,7 @@
*/
/*
* file.h - definitions for file(1) program
- * @(#)$File: file.h,v 1.200 2018/10/19 00:26:26 christos Exp $
+ * @(#)$File: file.h,v 1.201 2018/10/19 00:33:04 christos Exp $
*/
#ifndef __file_h__
@@ -382,7 +382,7 @@ struct mlist {
#define CCAST(T, b) const_cast<T>(b)
#else
#define CAST(T, b) ((T)(b))
-#define RCAST(T, b) ((T)(void *)(b))
+#define RCAST(T, b) ((T)(uintptr_t)(b))
#define CCAST(T, b) ((T)(uintptr_t)(b))
#endif