summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPhoto.c
diff options
context:
space:
mode:
authordas <das@noemail.net>2007-06-25 02:04:27 (GMT)
committerdas <das@noemail.net>2007-06-25 02:04:27 (GMT)
commitd1f18c56ac3fbf51c49ff2f6cf5bb3faa739b141 (patch)
tree5dba72bb2a080a5f4033ae7e3c07e980cb77d637 /generic/tkImgPhoto.c
parent21fa646a4529683dfd13946c8c15dd26f7bc658f (diff)
downloadtk-d1f18c56ac3fbf51c49ff2f6cf5bb3faa739b141.zip
tk-d1f18c56ac3fbf51c49ff2f6cf5bb3faa739b141.tar.gz
tk-d1f18c56ac3fbf51c49ff2f6cf5bb3faa739b141.tar.bz2
fix compile errors & warnings introduced by dkf's cleanup
FossilOrigin-Name: 22826e45feb216d1ab0cc4f935b8373e08d89270
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;
/*