From 53e7546c23bc7ca8d33f1728fbd2c6f6f2b29a77 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 6 Feb 2005 16:28:36 +0000 Subject: Fixed a few warnings in OS X. The fluid stuff was 'touche'd, but not changed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_draw_image_mac.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fl_draw_image_mac.cxx') diff --git a/src/fl_draw_image_mac.cxx b/src/fl_draw_image_mac.cxx index be4427324..27d3b6312 100644 --- a/src/fl_draw_image_mac.cxx +++ b/src/fl_draw_image_mac.cxx @@ -165,8 +165,8 @@ static void innards(const uchar *buf, int X, int Y, int W, int H, } } #elif defined(__APPLE_QUARTZ__) - void *array = buf; - uchar *tmpBuf; + const void *array = buf; + uchar *tmpBuf = 0; if (cb) { tmpBuf = new uchar[ H*W*delta ]; for (int i=0; i