diff options
| author | 2010-05-13 20:37:19 +0000 | |
|---|---|---|
| committer | 2010-05-13 20:37:19 +0000 | |
| commit | b80779d95e7405b69f45c28486d103cce0ea92ed (patch) | |
| tree | 4273b381286f545f43db93b92fb22f2855aea8b4 | |
| parent | eb6e93e06dd3f41324373882e4615392c9504347 (diff) | |
work around gcc 4.5 (harmless) warning:
case value '13' not in enumerated type 'D3DTEXTURESTAGESTATETYPE'
(and other cases)
| -rw-r--r-- | src/osd/windows/d3d9intf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/windows/d3d9intf.c b/src/osd/windows/d3d9intf.c index 18bd41074d8..6d22435e21d 100644 --- a/src/osd/windows/d3d9intf.c +++ b/src/osd/windows/d3d9intf.c @@ -422,7 +422,7 @@ static HRESULT d3d_device_set_texture_stage_state(d3d_device *dev, DWORD stage, IDirect3DDevice9 *device = (IDirect3DDevice9 *)dev; // some state which was here got pushed into sampler state in D3D9 - switch (state) + switch ((DWORD)state) { case D3DTSS_ADDRESSU: return IDirect3DDevice9_SetSamplerState(device, stage, D3DSAMP_ADDRESSU, value); |
