Commit 6063b542 authored by Rémi Assailly's avatar Rémi Assailly Committed by Alexandre Julliard

char -> const char fixes.

parent 74b02586
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment