[PATCH v2] d3d8: Fix incorrect types.