summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPhoto.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2007-01-03 04:10:48 (GMT)
committernijtmans <nijtmans>2007-01-03 04:10:48 (GMT)
commitdf1d5b0c6b3bdf308fd86c0101f8e9110b177a6d (patch)
tree55ba9040aa4b132a813feb9491021de15558513d /generic/tkImgPhoto.c
parentba7fa40f47b2346070ac01a694ba15c111ffb9eb (diff)
downloadtk-df1d5b0c6b3bdf308fd86c0101f8e9110b177a6d.zip
tk-df1d5b0c6b3bdf308fd86c0101f8e9110b177a6d.tar.gz
tk-df1d5b0c6b3bdf308fd86c0101f8e9110b177a6d.tar.bz2
various "const" additions in implementation
Diffstat (limited to 'generic/tkImgPhoto.c')
-rw-r--r--generic/tkImgPhoto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c
index 64c6e82..f5c3e2b 100644
--- a/generic/tkImgPhoto.c
+++ b/generic/tkImgPhoto.c
@@ -17,7 +17,7 @@
* Department of Computer Science,
* Australian National University.
*
- * RCS: @(#) $Id: tkImgPhoto.c,v 1.66 2007/01/02 22:50:30 dkf Exp $
+ * RCS: @(#) $Id: tkImgPhoto.c,v 1.67 2007/01/03 04:10:54 nijtmans Exp $
*/
#include "tkInt.h"
@@ -2463,7 +2463,7 @@ ImgPhotoGet(
nBlue = 32;
mono = 0;
} else if (visInfoPtr->depth >= 3) {
- int *ip = paletteChoice[visInfoPtr->depth - 3];
+ const int *ip = paletteChoice[visInfoPtr->depth - 3];
nRed = ip[0];
nGreen = ip[1];