diff options
author | Christos Zoulas <christos@zoulas.com> | 2018-10-19 00:33:04 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2018-10-19 00:33:04 +0000 |
commit | c7d910ee8879dfbe80fe14bfc13c8fa6c6fe1d32 (patch) | |
tree | ef7796ee9090b77a1db35ce524c385ed3aa2dec1 /src/file.h | |
parent | 8d68fb4f0577e6ad646ff12757fa3acdfde9a53d (diff) | |
download | file-git-c7d910ee8879dfbe80fe14bfc13c8fa6c6fe1d32.tar.gz |
more lint fixes
Diffstat (limited to 'src/file.h')
-rw-r--r-- | src/file.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |