summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDraw.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-07-08 07:54:08 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-07-08 07:54:08 (GMT)
commit973b6e6d17b26ec027eb3b6df3b37d9da9d9f514 (patch)
tree16cd8e062060db885208ea156a7c74aa9751ee83 /macosx/tkMacOSXDraw.c
parent649ce6ba5bb32fc38e88fc8f4ac13359651d1d32 (diff)
downloadtk-973b6e6d17b26ec027eb3b6df3b37d9da9d9f514.zip
tk-973b6e6d17b26ec027eb3b6df3b37d9da9d9f514.tar.gz
tk-973b6e6d17b26ec027eb3b6df3b37d9da9d9f514.tar.bz2
Use size_t in stead of int for some internal refCount variables. On 32-bit systems, this doubles the range (as size_t is unsigned), on 64-bit system much more than that.
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r--macosx/tkMacOSXDraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c
index 0f6d2f0..5f31a2c 100644
--- a/macosx/tkMacOSXDraw.c
+++ b/macosx/tkMacOSXDraw.c
@@ -769,7 +769,7 @@ DrawCGImage(
dstBounds.size.width, dstBounds.size.height);
#else /* TK_MAC_DEBUG_IMAGE_DRAWING */
CGContextSaveGState(context);
- CGContextTranslateCTM(context, 0,
+ CGContextTranslateCTM(context, 0,
dstBounds.origin.y + CGRectGetMaxY(dstBounds));
CGContextScaleCTM(context, 1, -1);
CGContextDrawImage(context, dstBounds, image);