diff options
Diffstat (limited to 'tableinitcmtemplate.c')
-rw-r--r-- | tableinitcmtemplate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tableinitcmtemplate.c b/tableinitcmtemplate.c index b282326..e31b5b4 100644 --- a/tableinitcmtemplate.c +++ b/tableinitcmtemplate.c @@ -63,7 +63,7 @@ rfbInitColourMapSingleTableOUT (char **table, ReleaseDC(NULL, hDC); */ - tColor *pColors; + const tColor *pColors; int NumColors; cOSDWorker::GetOSDColors(&pColors, &NumColors); @@ -74,7 +74,7 @@ rfbInitColourMapSingleTableOUT (char **table, OUT_T outRed, outGreen, outBlue; OUT_T *t = (OUT_T *)*table; - tColor *pColor = pColors; + const tColor *pColor = pColors; for (i = 0; i < NumColors; i++) { // Split down the RGB data |