Stefan Dösinger : d3d9: Add typecasts for WINED3DLOCKED_BOX to avoid compiler warnings.