From 494aa1ee39dcf6d2880cce684983e71fa2ab5c25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 29 Nov 2009 21:33:55 +0000 Subject: [PATCH] fixed warnings git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34356 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/clock/cl_view.cpp | 4 ++-- src/apps/clock/cl_view.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/apps/clock/cl_view.cpp b/src/apps/clock/cl_view.cpp index 00edde3b7d..ea702a1961 100644 --- a/src/apps/clock/cl_view.cpp +++ b/src/apps/clock/cl_view.cpp @@ -20,7 +20,7 @@ #include -TOffscreenView::TOffscreenView(BRect frame, char *name, short mRadius, +TOffscreenView::TOffscreenView(BRect frame, const char *name, short mRadius, short hRadius, short offset, long face, bool show) : BView(frame, name, B_FOLLOW_NONE, B_WILL_DRAW), fHours(0), @@ -168,7 +168,7 @@ TOffscreenView::~TOffscreenView() // #pragma mark - -TOnscreenView::TOnscreenView(BRect rect, char *title, short mRadius, +TOnscreenView::TOnscreenView(BRect rect, const char *title, short mRadius, short hRadius, short offset) : BView(rect, title, B_FOLLOW_NONE, B_WILL_DRAW | B_PULSE_NEEDED | B_DRAW_ON_CHILDREN), diff --git a/src/apps/clock/cl_view.h b/src/apps/clock/cl_view.h index b9af6d523a..9dac1c7d22 100644 --- a/src/apps/clock/cl_view.h +++ b/src/apps/clock/cl_view.h @@ -16,7 +16,7 @@ class BMessage; class TOffscreenView : public BView { public: - TOffscreenView(BRect frame, char *name, short mRadius, + TOffscreenView(BRect frame, const char *name, short mRadius, short hRadius, short offset, long face, bool show); virtual ~TOffscreenView(); @@ -46,7 +46,7 @@ class TOffscreenView : public BView { class TOnscreenView : public BView { public: - TOnscreenView(BRect frame, char *name, + TOnscreenView(BRect frame, const char *name, short mRadius, short hRadius, short offset); TOnscreenView(BMessage *data); virtual ~TOnscreenView();