[haiku-commits] r34356 - haiku/trunk/src/apps/clock

  • From: korli@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 29 Nov 2009 22:33:55 +0100 (CET)

Author: korli
Date: 2009-11-29 22:33:55 +0100 (Sun, 29 Nov 2009)
New Revision: 34356
Changeset: http://dev.haiku-os.org/changeset/34356/haiku

Modified:
   haiku/trunk/src/apps/clock/cl_view.cpp
   haiku/trunk/src/apps/clock/cl_view.h
Log:
fixed warnings


Modified: haiku/trunk/src/apps/clock/cl_view.cpp
===================================================================
--- haiku/trunk/src/apps/clock/cl_view.cpp      2009-11-29 21:16:41 UTC (rev 
34355)
+++ haiku/trunk/src/apps/clock/cl_view.cpp      2009-11-29 21:33:55 UTC (rev 
34356)
@@ -20,7 +20,7 @@
 #include <time.h>
 
 
-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 @@
 //     #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),

Modified: haiku/trunk/src/apps/clock/cl_view.h
===================================================================
--- haiku/trunk/src/apps/clock/cl_view.h        2009-11-29 21:16:41 UTC (rev 
34355)
+++ haiku/trunk/src/apps/clock/cl_view.h        2009-11-29 21:33:55 UTC (rev 
34356)
@@ -16,7 +16,7 @@
 
 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 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();


Other related posts:

  • » [haiku-commits] r34356 - haiku/trunk/src/apps/clock - korli