From e51085edcb22113656f7640c6cf8850ebefd5046 Mon Sep 17 00:00:00 2001 From: cebix <> Date: Tue, 12 Oct 1999 20:59:15 +0000 Subject: [PATCH] - fixed compiler warning --- BasiliskII/src/BeOS/video_beos.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BasiliskII/src/BeOS/video_beos.cpp b/BasiliskII/src/BeOS/video_beos.cpp index fd26fccc..bf18a4c9 100644 --- a/BasiliskII/src/BeOS/video_beos.cpp +++ b/BasiliskII/src/BeOS/video_beos.cpp @@ -137,7 +137,7 @@ private: class MacScreen : public BWindowScreen { public: - MacScreen(char *name, int mode_bit, status_t *error); + MacScreen(const char *name, int mode_bit, status_t *error); virtual ~MacScreen(); virtual void Quit(void); virtual void ScreenConnected(bool active); @@ -795,7 +795,7 @@ void BitmapView::MouseMoved(BPoint point, uint32 transit, const BMessage *messag * Screen constructor */ -MacScreen::MacScreen(char *name, int mode_bit, status_t *error) : BWindowScreen(name, 1 << mode_bit, error), tick_thread(-1) +MacScreen::MacScreen(const char *name, int mode_bit, status_t *error) : BWindowScreen(name, 1 << mode_bit, error), tick_thread(-1) { // Set all variables frame_backup = NULL;