dlls/d3d9/volume.c regression

Gerald Pfeifer gerald at pfeifer.com
Sat Apr 8 08:25:41 CDT 2006

The following patch

  revision 1.20
  date: 2006-04-07 15:06:58 +0200;  author: julliard;  state: Exp;  lines: +1 -1
  Stefan Dösinger <stefandoesinger at gmx.at>
  wined3d: Add WINED3DBOX to wined3d_types.h.

has one, and only one, effect as far as I can tell: it adds a new
compiler warning

  volume.c: In function 'IDirect3DVolume9Impl_LockBox':
  volume.c:175: warning: passing argument 2 of 
    'This->wineD3DVolume->lpVtbl->LockBox' from incompatible pointer type

both on SUSE Linux 10.0 using GCC 4.0 as well as FreeBSD 5.4 using GCC 3.4.

(dlls/d3d9/volumetexture.c has exactly the same problem:

'IDirect3DVolumeTexture9Impl_LockBox': volumetexture.c:191: warning: 
passing argument 3 of 'This->wineD3DVolumeTexture->lpVtbl->LockBox'
from incompatible pointer type.)

Would you mind fixing these?


More information about the wine-devel mailing list