fix gcc4 warnings (+alphabranch)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32658 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2009-08-24 18:48:57 +00:00
parent e1466b6996
commit 230fd426a9
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
#include "PoorManView.h" #include "PoorManView.h"
#endif #endif
PoorManView::PoorManView(BRect rect, char *name) PoorManView::PoorManView(BRect rect, const char *name)
: BView(rect, name, B_FOLLOW_ALL, B_WILL_DRAW ) : BView(rect, name, B_FOLLOW_ALL, B_WILL_DRAW )
{ {
} }
+1 -1
View File
@@ -15,7 +15,7 @@
class PoorManView: public BView class PoorManView: public BView
{ {
public: public:
PoorManView(BRect, char *name); PoorManView(BRect, const char *name);
virtual void AttachedToWindow(); virtual void AttachedToWindow();
}; };
+1 -1
View File
@@ -31,7 +31,7 @@ StatusSlider::StatusSlider (BRect frame,
temp = str; temp = str;
} }
char* const char*
StatusSlider::UpdateText() const StatusSlider::UpdateText() const
{ {
+1 -1
View File
@@ -23,7 +23,7 @@ public:
BMessage *message, BMessage *message,
int32 minValue, int32 minValue,
int32 maxValue); int32 maxValue);
virtual char* UpdateText() const; virtual const char* UpdateText() const;
private: private:
char * StatusPrefix; char * StatusPrefix;
char * temp; char * temp;