Commit a0991fc7 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

d3d8: Redefine D3DVSD_MAKETOKENTYPE to avoid shift overflow (warnings).

parent 0ad7a0df
......@@ -267,7 +267,7 @@ typedef enum _D3DVSDT_TYPE {
#define D3DVSD_MAKETOKENTYPE(TokenType) \
((TokenType << D3DVSD_TOKENTYPESHIFT) & D3DVSD_TOKENTYPEMASK)
(((unsigned)TokenType << D3DVSD_TOKENTYPESHIFT) & D3DVSD_TOKENTYPEMASK)
#define D3DVSD_CONST(ConstantAddress, Count) \
(D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_CONSTMEM) | ((Count) << D3DVSD_CONSTCOUNTSHIFT) | (ConstantAddress))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment