diff --git a/dlls/gdi/dib.c b/dlls/gdi/dib.c index 410295ead74..83952f0838e 100644 --- a/dlls/gdi/dib.c +++ b/dlls/gdi/dib.c @@ -308,7 +308,7 @@ INT WINAPI SetDIBitsToDevice(HDC hdc, INT xDest, INT yDest, DWORD cx, /*********************************************************************** * SetDIBColorTable (GDI32.@) */ -UINT WINAPI SetDIBColorTable( HDC hdc, UINT startpos, UINT entries, RGBQUAD *colors ) +UINT WINAPI SetDIBColorTable( HDC hdc, UINT startpos, UINT entries, CONST RGBQUAD *colors ) { DC * dc; UINT result = 0; diff --git a/include/wingdi.h b/include/wingdi.h index d3d64bdf517..fac3c63a3ba 100644 --- a/include/wingdi.h +++ b/include/wingdi.h @@ -3517,7 +3517,7 @@ HCOLORSPACE WINAPI SetColorSpace(HDC,HCOLORSPACE); BOOL WINAPI SetDeviceGammaRamp(HDC,LPVOID); COLORREF WINAPI SetDCBrushColor(HDC,COLORREF); COLORREF WINAPI SetDCPenColor(HDC, COLORREF); -UINT WINAPI SetDIBColorTable(HDC,UINT,UINT,RGBQUAD*); +UINT WINAPI SetDIBColorTable(HDC,UINT,UINT,CONST RGBQUAD*); INT WINAPI SetDIBits(HDC,HBITMAP,UINT,UINT,LPCVOID,const BITMAPINFO*,UINT); INT WINAPI SetDIBitsToDevice(HDC,INT,INT,DWORD,DWORD,INT, INT,UINT,UINT,LPCVOID,const BITMAPINFO*,UINT);