summaryrefslogtreecommitdiff
path: root/libs/ardour/sse_functions_xmm.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-07-22 16:08:11 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-07-22 16:08:11 +0000
commitc11c01ef200ce01ec454ff1d8023732d2cd6b06e (patch)
tree416db0a1caa4800d24226993fc1193db7e93934c /libs/ardour/sse_functions_xmm.cc
parent1c1b359ff21aac57bd71d291049d657f66cf31f5 (diff)
remove a bunch of uses of long (mostly replaced by int32_t)
git-svn-id: svn://localhost/ardour2/branches/3.0@7472 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/sse_functions_xmm.cc')
-rw-r--r--libs/ardour/sse_functions_xmm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/sse_functions_xmm.cc b/libs/ardour/sse_functions_xmm.cc
index c1f11c4c83..b3e3342cb8 100644
--- a/libs/ardour/sse_functions_xmm.cc
+++ b/libs/ardour/sse_functions_xmm.cc
@@ -31,7 +31,7 @@ x86_sse_find_peaks(const ARDOUR::Sample* buf, ARDOUR::nframes_t nframes, float *
current_max = _mm_set1_ps(*max);
// Work input until "buf" reaches 16 byte alignment
- while ( ((unsigned long)buf) % 16 != 0 && nframes > 0) {
+ while ( ((intptr_t)buf) % 16 != 0 && nframes > 0) {
// Load the next float into the work buffer
work = _mm_set1_ps(*buf);