diff options
author | Carl Hetherington <carl@carlh.net> | 2012-04-15 19:28:44 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-04-15 19:28:44 +0000 |
commit | 23973bae24b7f569e26c7f869a103aacbaf66ab2 (patch) | |
tree | a5c9004823ce44c6bef1473293c38d11d3b4ccc7 /gtk2_ardour/mouse_cursors.cc | |
parent | 2c0f704f286f05ce1505f6eb882391222e770331 (diff) |
A few tweaks to make Ardour build in GCC -std=c++0x mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@11983 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mouse_cursors.cc')
-rw-r--r-- | gtk2_ardour/mouse_cursors.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/mouse_cursors.cc b/gtk2_ardour/mouse_cursors.cc index 3cbe8342a7..fa3ce331d6 100644 --- a/gtk2_ardour/mouse_cursors.cc +++ b/gtk2_ardour/mouse_cursors.cc @@ -41,14 +41,14 @@ MouseCursors::MouseCursors () Color ffg ("#000000"); { - RefPtr<Bitmap> source = Bitmap::create (fader_cursor_bits, fader_cursor_width, fader_cursor_height); - RefPtr<Bitmap> mask = Bitmap::create (fader_cursor_mask_bits, fader_cursor_width, fader_cursor_height); + RefPtr<Bitmap> source = Bitmap::create ((char const *) fader_cursor_bits, fader_cursor_width, fader_cursor_height); + RefPtr<Bitmap> mask = Bitmap::create ((char const *) fader_cursor_mask_bits, fader_cursor_width, fader_cursor_height); fader = new Cursor (source, mask, ffg, fbg, fader_cursor_x_hot, fader_cursor_y_hot); } { - RefPtr<Bitmap> source = Bitmap::create (speaker_cursor_bits, speaker_cursor_width, speaker_cursor_height); - RefPtr<Bitmap> mask = Bitmap::create (speaker_cursor_mask_bits, speaker_cursor_width, speaker_cursor_height); + RefPtr<Bitmap> source = Bitmap::create ((char const *) speaker_cursor_bits, speaker_cursor_width, speaker_cursor_height); + RefPtr<Bitmap> mask = Bitmap::create ((char const *) speaker_cursor_mask_bits, speaker_cursor_width, speaker_cursor_height); speaker = new Cursor (source, mask, ffg, fbg, speaker_cursor_x_hot, speaker_cursor_y_hot); } |