Unbreak the build on win32.

Cleanup some warning.

Remark: when struct/class are declared differently than they are defined, this make problem for VC++ since it seems to mangle class differently that struct. These error are very hard to understand and find. So please, try to keep your definition/declaration in sync.

Only tested with VS2008. hope it does not break anything. feel free to revert.

llvm-svn: 64554
This commit is contained in:
Cedric Venet
2009-02-14 16:06:42 +00:00
parent d831cac2a7
commit d1e179d992
8 changed files with 11 additions and 10 deletions

View File

@@ -1239,7 +1239,7 @@ APFloat::addOrSubtractSpecials(const APFloat &rhs, bool subtract)
case convolve(fcInfinity, fcInfinity):
/* Differently signed infinities can only be validly
subtracted. */
if((sign ^ rhs.sign) != subtract) {
if(((sign ^ rhs.sign)!=0) != subtract) {
makeNaN();
return opInvalidOp;
}