Fix for NO_FP problem found by Ed.
git-svn-id: http://picoc.googlecode.com/svn/trunk@359 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
0872369ead
commit
0df1958dfc
|
@ -185,7 +185,9 @@ double ExpressionCoerceFP(struct Value *Val)
|
|||
case TypeUnsignedInt: return (double)Val->Val->UnsignedInteger;
|
||||
case TypeUnsignedChar: return (double)Val->Val->UnsignedCharacter;
|
||||
case TypeUnsignedShort: return (double)Val->Val->UnsignedShortInteger;
|
||||
#ifndef NO_FP
|
||||
case TypeFP: return (double)Val->Val->FP;
|
||||
#endif
|
||||
default: return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue