From bfee2b39a07085e4e2a36bfd581b00d74d6a96b4 Mon Sep 17 00:00:00 2001 From: dcommander Date: Fri, 26 Feb 2010 23:01:19 +0000 Subject: Bleepin' Windows uses LLP64, not LP64 git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@158 632fc199-4ca6-4c93-a231-07263d6284db --- simd/jsimd_x86_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'simd') 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 */ -- cgit v1.2.3