Fix constness to avoid warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43058 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1a5c1f9ed5
commit
e5712f7bf8
@ -635,7 +635,7 @@ typedef enum PropertyNumbersEnum
|
||||
PN_MAX
|
||||
} PropertyNumbers;
|
||||
|
||||
static char * g_PropertyNames [PN_MAX] =
|
||||
static const char * g_PropertyNames [PN_MAX] =
|
||||
{
|
||||
"DatabaseFile",
|
||||
"Spam",
|
||||
@ -863,7 +863,7 @@ typedef enum ScoringModeEnum
|
||||
SM_MAX
|
||||
} ScoringModes;
|
||||
|
||||
static char * g_ScoringModeNames [SM_MAX] =
|
||||
static const char * g_ScoringModeNames [SM_MAX] =
|
||||
{
|
||||
"Robinson",
|
||||
"ChiSquared"
|
||||
@ -885,7 +885,7 @@ typedef enum TokenizeModeEnum
|
||||
TM_MAX
|
||||
} TokenizeModes;
|
||||
|
||||
static char * g_TokenizeModeNames [TM_MAX] =
|
||||
static const char * g_TokenizeModeNames [TM_MAX] =
|
||||
{
|
||||
"All",
|
||||
"Plain text",
|
||||
@ -6097,7 +6097,7 @@ void ControlsView::AttachedToWindow ()
|
||||
float RowHeight;
|
||||
float RowTop;
|
||||
ScoringModes ScoringMode;
|
||||
char *StringPntr;
|
||||
const char *StringPntr;
|
||||
BMenuItem *TempMenuItemPntr;
|
||||
BRect TempRect;
|
||||
char TempString [PATH_MAX];
|
||||
|
Loading…
Reference in New Issue
Block a user