aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flsimd.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-01-07 04:58:47 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-01-07 04:58:47 +0000
commitdad0b0542c08240f4431a34d46e6676461e0d83b (patch)
tree1d4ce3ce8cfe60caec560d0514f6eb4c08defcc3 /externals/grill/flext/source/flsimd.cpp
parented4ce25dc69fd6361f7655a3ab5d05186754316c (diff)
updated for OSX
better templates, some minor changes fix for showing attributes on select (and recreate the object on edit) cleanups svn path=/trunk/; revision=2469
Diffstat (limited to 'externals/grill/flext/source/flsimd.cpp')
-rwxr-xr-xexternals/grill/flext/source/flsimd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/externals/grill/flext/source/flsimd.cpp b/externals/grill/flext/source/flsimd.cpp
index 007a1fe0..9ed22de7 100755
--- a/externals/grill/flext/source/flsimd.cpp
+++ b/externals/grill/flext/source/flsimd.cpp
@@ -2,7 +2,7 @@
flext - C++ layer for Max/MSP and pd (pure data) externals
-Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
+Copyright (c) 2001-2005 Thomas Grill (gr@grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
@@ -47,7 +47,7 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#include <altivec.h>
#include <vectorOps.h>
- #elif FLEXT_CPU == FLEXT_CPU_PPC && defined(__GNUG__) && defined(__VEC__)
+ #elif FLEXT_CPU == FLEXT_CPU_PPC && defined(__GNUC__) && defined(__VEC__)
#include <sys/sysctl.h>
#include <vecLib/vecLib.h>
#endif
@@ -344,7 +344,7 @@ inline void StoreUnaligned( vector float v,float *where)
inline bool IsVectorAligned(const void *where)
{
- return reinterpret_cast<unsigned long>(where)&(sizeof(vector float)-1) == 0;
+ return (reinterpret_cast<size_t>(where)&(sizeof(vector float)-1)) == 0;
}
inline vector float LoadValue(const float &f)