diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-28 06:53:09 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-28 06:53:09 (GMT) |
commit | 9cfbd3e51461d673752779dc1a09e8011a701846 (patch) | |
tree | 6b2e48e059cfc385635440f677944391119241c3 /macosx/tkMacOSXDraw.c | |
parent | 598c3532de71adbe68ce397aafcfbe00670a00f4 (diff) | |
download | tk-9cfbd3e51461d673752779dc1a09e8011a701846.zip tk-9cfbd3e51461d673752779dc1a09e8011a701846.tar.gz tk-9cfbd3e51461d673752779dc1a09e8011a701846.tar.bz2 |
Add some explicit typecasts, e.g. to (Drawable), and prevent higher-level compiler warnings
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r-- | macosx/tkMacOSXDraw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c index 57680a9..15d1eb5 100644 --- a/macosx/tkMacOSXDraw.c +++ b/macosx/tkMacOSXDraw.c @@ -1271,7 +1271,7 @@ TkMacOSXSetupDrawingContext( */ if (!(macDraw->flags & TK_IS_PIXMAP)) { - view = TkMacOSXDrawableView(macDraw); + view = TkMacOSXDrawableView(d); if (!view) { Tcl_Panic("TkMacOSXSetupDrawingContext(): " "no NSView to draw into !"); |