diff options
author | nijtmans <nijtmans> | 2007-01-03 04:10:48 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2007-01-03 04:10:48 (GMT) |
commit | cac34c03ac4f3b143325331ab94c25319c77707b (patch) | |
tree | 55ba9040aa4b132a813feb9491021de15558513d /generic/tkImgPhoto.c | |
parent | 16cdeeca7012af9595b161d13ef388051201b2d6 (diff) | |
download | tk-cac34c03ac4f3b143325331ab94c25319c77707b.zip tk-cac34c03ac4f3b143325331ab94c25319c77707b.tar.gz tk-cac34c03ac4f3b143325331ab94c25319c77707b.tar.bz2 |
various "const" additions in implementation
Diffstat (limited to 'generic/tkImgPhoto.c')
-rw-r--r-- | generic/tkImgPhoto.c | 4 |
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]; |