summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXImage.c
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/tkMacOSXImage.c')
-rw-r--r--macosx/tkMacOSXImage.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/macosx/tkMacOSXImage.c b/macosx/tkMacOSXImage.c
index 3ea9bd7..c41b3a6 100644
--- a/macosx/tkMacOSXImage.c
+++ b/macosx/tkMacOSXImage.c
@@ -56,7 +56,7 @@ static void ReleaseData(
CGImageRef
TkMacOSXCreateCGImageWithXImage(
XImage *image,
- uint32 alphaInfo)
+ uint32_t alphaInfo)
{
CGImageRef img = NULL;
size_t bitsPerComponent, bitsPerPixel;
@@ -480,8 +480,7 @@ TkMacOSXPutImage(
int XPutImage(Display* display, Drawable drawable, GC gc, XImage* image,
int src_x, int src_y, int dest_x, int dest_y,
- unsigned int width, unsigned int height)
-{
+ unsigned int width, unsigned int height) {
return TkMacOSXPutImage(PIXEL_RGBX, display, drawable, gc, image,
src_x, src_y, dest_x, dest_y, width, height);
}
@@ -489,8 +488,7 @@ int XPutImage(Display* display, Drawable drawable, GC gc, XImage* image,
int TkpPutRGBAImage(Display* display,
Drawable drawable, GC gc, XImage* image,
int src_x, int src_y, int dest_x, int dest_y,
- unsigned int width, unsigned int height)
-{
+ unsigned int width, unsigned int height) {
return TkMacOSXPutImage(PIXEL_RGBA, display, drawable, gc, image,
src_x, src_y, dest_x, dest_y, width, height);
}