The "colors" parameter of SetDIBColorTable should be CONST.
diff --git a/dlls/gdi/dib.c b/dlls/gdi/dib.c
index 410295e..83952f0 100644
--- a/dlls/gdi/dib.c
+++ b/dlls/gdi/dib.c
@@ -308,7 +308,7 @@
/***********************************************************************
* 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 d3d64bd..fac3c63 100644
--- a/include/wingdi.h
+++ b/include/wingdi.h
@@ -3517,7 +3517,7 @@
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);