diff options
Diffstat (limited to 'simd')
-rw-r--r-- | simd/jsimd_x86_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simd/jsimd_x86_64.c b/simd/jsimd_x86_64.c index 0da564c..3437a9a 100644 --- a/simd/jsimd_x86_64.c +++ b/simd/jsimd_x86_64.c @@ -24,7 +24,7 @@ * In the PIC cases, we have no guarantee that constants will keep * their alignment. This macro allows us to verify it at runtime. */ -#define IS_ALIGNED(ptr, order) (((unsigned long)ptr & ((1 << order) - 1)) == 0) +#define IS_ALIGNED(ptr, order) (((size_t)ptr & ((1 << order) - 1)) == 0) #define IS_ALIGNED_SSE(ptr) (IS_ALIGNED(ptr, 4)) /* 16 byte alignment */ |