char -> const char fixes.
This commit is contained in:
parent
74b0258691
commit
6063b542aa
|
@ -1627,7 +1627,7 @@ inline static void addline(int* lineNum, char* pgm, char* line)
|
|||
strcat(pgm, "\n");
|
||||
}
|
||||
|
||||
char* shift_tab[] = {
|
||||
static const char* shift_tab[] = {
|
||||
"dummy", /* 0 (none) */
|
||||
"coefmul.x", /* 1 (x2) */
|
||||
"coefmul.y", /* 2 (x4) */
|
||||
|
|
|
@ -195,7 +195,7 @@ HRESULT WINAPI DirectInputCreateW(HINSTANCE hinst, DWORD dwVersion, LPDIRECTINPU
|
|||
return 0;
|
||||
}
|
||||
|
||||
static char *_dump_DIDEVTYPE_value(DWORD dwDevType) {
|
||||
static const char *_dump_DIDEVTYPE_value(DWORD dwDevType) {
|
||||
switch (dwDevType) {
|
||||
case 0: return "All devices";
|
||||
case DIDEVTYPE_MOUSE: return "DIDEVTYPE_MOUSE";
|
||||
|
|
|
@ -304,7 +304,7 @@ static HRESULT setup_dinput_options(JoystickImpl * device)
|
|||
int tokens = 0;
|
||||
int axis = 0;
|
||||
int pov = 0;
|
||||
char *delim = ",";
|
||||
const char *delim = ",";
|
||||
char * ptr;
|
||||
TRACE("\"%s\" = \"%s\"\n", device->name, buffer);
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ static inline int strcmpW( const WCHAR *str1, const WCHAR *str2 )
|
|||
}
|
||||
|
||||
/* return the string text of a given variant type */
|
||||
char *vtstr(int x)
|
||||
static const char *vtstr(int x)
|
||||
{
|
||||
switch(x) {
|
||||
case 0:
|
||||
|
|
Loading…
Reference in New Issue