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:
@@ -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 )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ StatusSlider::StatusSlider (BRect frame,
|
|||||||
temp = str;
|
temp = str;
|
||||||
}
|
}
|
||||||
|
|
||||||
char*
|
const char*
|
||||||
StatusSlider::UpdateText() const
|
StatusSlider::UpdateText() const
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user