summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPhoto.c
diff options
context:
space:
mode:
authordas <das>2007-06-25 02:04:27 (GMT)
committerdas <das>2007-06-25 02:04:27 (GMT)
commitfebfc914b27e096b01315b934df1057d64ffa5cc (patch)
tree5dba72bb2a080a5f4033ae7e3c07e980cb77d637 /generic/tkImgPhoto.c
parent5a55c8ea218fb4f824636257632352faf17cf7a0 (diff)
downloadtk-febfc914b27e096b01315b934df1057d64ffa5cc.zip
tk-febfc914b27e096b01315b934df1057d64ffa5cc.tar.gz
tk-febfc914b27e096b01315b934df1057d64ffa5cc.tar.bz2
fix compile errors & warnings introduced by dkf's cleanup
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 6b4132b..626d38f 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.71 2007/06/24 16:07:34 dkf Exp $
+ * RCS: @(#) $Id: tkImgPhoto.c,v 1.72 2007/06/25 02:04:27 das Exp $
*/
#include "tkInt.h"
@@ -5037,7 +5037,7 @@ DitherInstance(
int nLines, bigEndian, i, c, x, y, xEnd, doDithering = 1;
int bitsPerPixel, bytesPerLine, lineLength;
unsigned char *srcLinePtr;
- schar *errLinePtr, *errPtr;
+ schar *errLinePtr;
pixel firstBit, word, mask;
/*