diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-12-16 14:41:44 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-12-16 14:41:44 +0100 |
| commit | 28fb1bb0c092315ec731f2f1ec4b5f95a7697a94 (patch) | |
| tree | ec21fb00bbd3c1e6ad11c6f37b1450117661a5e5 /src/include | |
| parent | cc12620868610d350908e77adfdf2e12112f840c (diff) | |
| download | box64-28fb1bb0c092315ec731f2f1ec4b5f95a7697a94.tar.gz box64-28fb1bb0c092315ec731f2f1ec4b5f95a7697a94.zip | |
[BOX32][WRAPPER] Silence some conversion warnings
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/box32.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/box32.h b/src/include/box32.h index cbf97767..c8c7424f 100644 --- a/src/include/box32.h +++ b/src/include/box32.h @@ -88,6 +88,9 @@ static inline ptr_t to_ptrv_silent(void* p) { static inline void* from_ptriv(ptr_t l) { return from_ptrv(from_ptri(ptr_t, l)); } +static inline ptr_t to_ulong_silent(unsigned long l) { + return (ulong_t)l; +} ulong_t to_hash(uintptr_t p); ulong_t to_hash_d(uintptr_t p); |