- fixed compiler warning

This commit is contained in:
cebix 1999-10-12 20:59:15 +00:00
parent ee84e34006
commit e51085edcb

View File

@ -137,7 +137,7 @@ private:
class MacScreen : public BWindowScreen { class MacScreen : public BWindowScreen {
public: public:
MacScreen(char *name, int mode_bit, status_t *error); MacScreen(const char *name, int mode_bit, status_t *error);
virtual ~MacScreen(); virtual ~MacScreen();
virtual void Quit(void); virtual void Quit(void);
virtual void ScreenConnected(bool active); virtual void ScreenConnected(bool active);
@ -795,7 +795,7 @@ void BitmapView::MouseMoved(BPoint point, uint32 transit, const BMessage *messag
* Screen constructor * 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 // Set all variables
frame_backup = NULL; frame_backup = NULL;