diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-02-06 16:28:36 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-02-06 16:28:36 +0000 |
| commit | 53e7546c23bc7ca8d33f1728fbd2c6f6f2b29a77 (patch) | |
| tree | 5e9f8da90d059bf616044c16bdd14638784fe255 /src/fl_draw_image_mac.cxx | |
| parent | f02c5fb4516e6fac11efb142f2f56a8e80baa288 (diff) | |
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
Diffstat (limited to 'src/fl_draw_image_mac.cxx')
| -rw-r--r-- | src/fl_draw_image_mac.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<H; i++) { |
