diff options
| author | tylov <[email protected]> | 2023-07-08 23:45:13 +0200 |
|---|---|---|
| committer | tylov <[email protected]> | 2023-07-08 23:45:13 +0200 |
| commit | c8a11225cf30740590d469d835c7ba367627abca (patch) | |
| tree | 93b610036b0ce04fbb9f7e8b4dc64322e9b1a0f9 /include | |
| parent | a7f7951490b9709dd75e143d0afdf51d5869eb54 (diff) | |
| download | STC-modified-c8a11225cf30740590d469d835c7ba367627abca.tar.gz STC-modified-c8a11225cf30740590d469d835c7ba367627abca.zip | |
Fixes from 32-bit raspberry pi testing.
Diffstat (limited to 'include')
| -rw-r--r-- | include/stc/ccommon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/ccommon.h b/include/stc/ccommon.h index 6f42bcc1..0cce1610 100644 --- a/include/stc/ccommon.h +++ b/include/stc/ccommon.h @@ -174,7 +174,7 @@ STC_INLINE intptr_t cnextpow2(intptr_t n) { n |= n >> 1, n |= n >> 2; n |= n >> 4, n |= n >> 8; n |= n >> 16; - #if INTPTR_SIZE == INT64_SIZE + #if INTPTR_MAX == INT64_MAX n |= n >> 32; #endif return n + 1; |
