fix gcc4 warnings (+alphabranch)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32659 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2009-08-24 18:49:36 +00:00
parent 230fd426a9
commit a632bfec28
4 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@
#include <stdio.h>
TPeopleView::TPeopleView(BRect rect, char *title, entry_ref *ref)
TPeopleView::TPeopleView(BRect rect, const char *title, entry_ref *ref)
:BView(rect, title, B_FOLLOW_NONE, B_WILL_DRAW)
{
if (ref)

View File

@ -25,7 +25,7 @@ class TTextControl;
class TPeopleView : public BView {
public:
TPeopleView(BRect rect, char* title, entry_ref* ref);
TPeopleView(BRect rect, const char* title, entry_ref* ref);
~TPeopleView(void);
virtual void AttachedToWindow(void);

View File

@ -29,7 +29,7 @@
#include <string.h>
TPeopleWindow::TPeopleWindow(BRect frame, char *title, entry_ref *ref)
TPeopleWindow::TPeopleWindow(BRect frame, const char *title, entry_ref *ref)
: BWindow(frame, title, B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE),
fPanel(NULL)
{

View File

@ -41,7 +41,7 @@ public:
entry_ref *fRef;
TPeopleWindow(BRect, char*, entry_ref*);
TPeopleWindow(BRect, const char*, entry_ref*);
~TPeopleWindow(void);
virtual void MenusBeginning(void);
virtual void MessageReceived(BMessage*);