mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- silenced a few more float conversion warnings.
This commit is contained in:
parent
355219d614
commit
e62fe65d00
1 changed files with 10 additions and 10 deletions
|
@ -473,8 +473,8 @@ static int ExecScriptFunc(VMFrameStack *stack, VMReturn *ret, int numret)
|
||||||
GETADDR(PA,KC,X_WRITE_NIL);
|
GETADDR(PA,KC,X_WRITE_NIL);
|
||||||
{
|
{
|
||||||
auto v = (float *)ptr;
|
auto v = (float *)ptr;
|
||||||
v[0] = reg.f[B];
|
v[0] = (float)reg.f[B];
|
||||||
v[1] = reg.f[B+1];
|
v[1] = (float)reg.f[B+1];
|
||||||
}
|
}
|
||||||
NEXTOP;
|
NEXTOP;
|
||||||
OP(SFV2_R):
|
OP(SFV2_R):
|
||||||
|
@ -482,8 +482,8 @@ static int ExecScriptFunc(VMFrameStack *stack, VMReturn *ret, int numret)
|
||||||
GETADDR(PA,RC,X_WRITE_NIL);
|
GETADDR(PA,RC,X_WRITE_NIL);
|
||||||
{
|
{
|
||||||
auto v = (float *)ptr;
|
auto v = (float *)ptr;
|
||||||
v[0] = reg.f[B];
|
v[0] = (float)reg.f[B];
|
||||||
v[1] = reg.f[B+1];
|
v[1] = (float)reg.f[B+1];
|
||||||
}
|
}
|
||||||
NEXTOP;
|
NEXTOP;
|
||||||
OP(SFV3):
|
OP(SFV3):
|
||||||
|
@ -491,9 +491,9 @@ static int ExecScriptFunc(VMFrameStack *stack, VMReturn *ret, int numret)
|
||||||
GETADDR(PA,KC,X_WRITE_NIL);
|
GETADDR(PA,KC,X_WRITE_NIL);
|
||||||
{
|
{
|
||||||
auto v = (float *)ptr;
|
auto v = (float *)ptr;
|
||||||
v[0] = reg.f[B];
|
v[0] = (float)reg.f[B];
|
||||||
v[1] = reg.f[B+1];
|
v[1] = (float)reg.f[B+1];
|
||||||
v[2] = reg.f[B+2];
|
v[2] = (float)reg.f[B+2];
|
||||||
}
|
}
|
||||||
NEXTOP;
|
NEXTOP;
|
||||||
OP(SFV3_R):
|
OP(SFV3_R):
|
||||||
|
@ -501,9 +501,9 @@ static int ExecScriptFunc(VMFrameStack *stack, VMReturn *ret, int numret)
|
||||||
GETADDR(PA,RC,X_WRITE_NIL);
|
GETADDR(PA,RC,X_WRITE_NIL);
|
||||||
{
|
{
|
||||||
auto v = (float *)ptr;
|
auto v = (float *)ptr;
|
||||||
v[0] = reg.f[B];
|
v[0] = (float)reg.f[B];
|
||||||
v[1] = reg.f[B+1];
|
v[1] = (float)reg.f[B+1];
|
||||||
v[2] = reg.f[B+2];
|
v[2] = (float)reg.f[B+2];
|
||||||
}
|
}
|
||||||
NEXTOP;
|
NEXTOP;
|
||||||
OP(SBIT):
|
OP(SBIT):
|
||||||
|
|
Loading…
Reference in a new issue