Signed-off-by: Michael Stefaniuc mstefani@winehq.org --- dlls/d3dxof/parsing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dxof/parsing.c b/dlls/d3dxof/parsing.c index f7724ec191..a152763a00 100644 --- a/dlls/d3dxof/parsing.c +++ b/dlls/d3dxof/parsing.c @@ -1213,7 +1213,7 @@ static BOOL parse_object_members_list(parse_buffer * buf) } else if (pt->members[i].type == TOKEN_DWORD) { - *(((DWORD*)(buf->pdata + buf->cur_pos_data))) = (DWORD)(*(DWORD*)buf->value); + *((DWORD*)(buf->pdata + buf->cur_pos_data)) = *(DWORD*)buf->value; buf->cur_pos_data += 4; } else @@ -1230,7 +1230,7 @@ static BOOL parse_object_members_list(parse_buffer * buf) return FALSE; if (pt->members[i].type == TOKEN_FLOAT) { - *(((float*)(buf->pdata + buf->cur_pos_data))) = (float)(*(float*)buf->value); + *((float*)(buf->pdata + buf->cur_pos_data)) = *(float*)buf->value; buf->cur_pos_data += 4; } else