force arg variable to float type, msvc8 can't select from float or double

svn-id: r20725
This commit is contained in:
Paweł Kołodziejski 2006-02-16 12:04:12 +00:00
parent 4694e98649
commit 6b557fabd5

View File

@ -809,7 +809,7 @@ int32 LogicHEsoccer::dispatch(int op, int numArgs, int32 *args) {
}
int LogicHEsoccer::op_1001(int32 *args) {
return args[0] * sin(args[1]);
return args[0] * sin((float)args[1]);
}
int LogicHEsoccer::op_1002(int32 *args) {