- Fixed: FxBinaryInts that needed to cast the right-side parameter to an int resolved the left

side instead.

SVN r4265 (trunk)
This commit is contained in:
Randy Heit 2013-05-13 02:55:48 +00:00
parent b418f7de8d
commit 504496278b

View file

@ -1246,7 +1246,7 @@ FxExpression *FxBinaryInt::Resolve(FCompileContext& ctx)
if (right->ValueType != VAL_Int)
{
right = new FxIntCast(right);
right = left->Resolve(ctx);
right = right->Resolve(ctx);
}
if (left == NULL || right == NULL)
{