diff options
author | Jukka Ojanen <jukka.ojanen@linkotec.net> | 2014-12-07 12:08:23 +0200 |
---|---|---|
committer | Jukka Ojanen <jukka.ojanen@linkotec.net> | 2014-12-07 12:08:23 +0200 |
commit | 32b519b6b766c5f310068aaed092cade8b31d078 (patch) | |
tree | 308281dba965bfb2fe283a090e6c93a79161cd64 /src | |
parent | d5496f9a78bb45192b176bd32d4b81c72fb576dd (diff) | |
download | ffts-32b519b6b766c5f310068aaed092cade8b31d078.zip ffts-32b519b6b766c5f310068aaed092cade8b31d078.tar.gz |
Fix warning "cast from pointer to integer of different size"
Diffstat (limited to 'src')
-rw-r--r-- | src/ffts.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -151,11 +151,11 @@ void ffts_execute(ffts_plan_t *p, const void *in, void *out) { /* TODO: Define NEEDS_ALIGNED properly instead */ #if defined(HAVE_SSE) || defined(HAVE_NEON) - if (((int) in % 16) != 0) { + if (((uintptr_t) in % 16) != 0) { LOG("ffts_execute: input buffer needs to be aligned to a 128bit boundary\n"); } - if (((int) out % 16) != 0) { + if (((uintptr_t) out % 16) != 0) { LOG("ffts_execute: output buffer needs to be aligned to a 128bit boundary\n"); } #endif |