From c11c01ef200ce01ec454ff1d8023732d2cd6b06e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 22 Jul 2010 16:08:11 +0000 Subject: 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 --- libs/ardour/sse_functions_xmm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/sse_functions_xmm.cc') 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); -- cgit v1.2.3