Fix for MAC so Cog builds on Leopard

CQTexperiment
vspader 2007-10-27 09:08:08 +00:00
parent 11fd5b5454
commit de85236760
2 changed files with 4 additions and 2 deletions

View File

@ -1246,6 +1246,7 @@
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Cog" */;
compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1;
knownRegions = (
English,
@ -1337,6 +1338,7 @@
ProjectRef = 17C808C00C3BD1DD005707C4 /* WavPack.xcodeproj */;
},
);
projectRoot = "";
targets = (
8D1107260486CEB800E47090 /* Cog */,
);

View File

@ -262,8 +262,8 @@ int CNNFilter::CalculateDotProductAltiVec(short * pA, short * pB, int nOrder)
vector signed short LSQ, LSQ3, v1, v2;
vector unsigned char mask1;
vector signed int vzero = (vector signed int)(0);
vector signed int sum = (vector signed int)(0);
vector signed int vzero = vec_splat_s32(0);
vector signed int sum = vec_splat_s32(0);
// sum = vec_xor(sum,sum);
//int nDotProduct;