Commit 06822b89 authored by Stefan Huehner's avatar Stefan Huehner Committed by Alexandre Julliard

Fix some write-strings warnings.

parent 6b7778f3
......@@ -65,7 +65,7 @@ static const char * dumpCooperativeLevel(DWORD level)
static void _dump_DSCAPS(DWORD xmask) {
struct {
DWORD mask;
char *name;
const char *name;
} flags[] = {
#define FE(x) { x, #x },
FE(DSCAPS_PRIMARYMONO)
......@@ -91,7 +91,7 @@ static void _dump_DSCAPS(DWORD xmask) {
static void _dump_DSBCAPS(DWORD xmask) {
struct {
DWORD mask;
char *name;
const char *name;
} flags[] = {
#define FE(x) { x, #x },
FE(DSBCAPS_PRIMARYBUFFER)
......
......@@ -71,7 +71,7 @@ char* wave_generate_la(WAVEFORMATEX* wfx, double duration, DWORD* size)
const char * getDSBCAPS(DWORD xmask) {
static struct {
DWORD mask;
char *name;
const char *name;
} flags[] = {
#define FE(x) { x, #x },
FE(DSBCAPS_PRIMARYBUFFER)
......
......@@ -990,8 +990,8 @@ static void test_UDP(void)
static void WINAPI do_getservbyname( HANDLE *starttest )
{
struct {
char *name;
char *proto;
const char *name;
const char *proto;
int port;
} serv[2] = { {"domain", "udp", 53}, {"telnet", "tcp", 23} };
......
......@@ -53,8 +53,8 @@ typedef void (WINAPI *EntryPointA)(HWND hWnd, HINSTANCE hInst, LPSTR lpszCmdLine
* Control_RunDLL needs to have a window. So lets make us a very
* simple window class.
*/
static TCHAR *szTitle = "rundll32";
static TCHAR *szWindowClass = "class_rundll32";
static const TCHAR *szTitle = "rundll32";
static const TCHAR *szWindowClass = "class_rundll32";
static HINSTANCE16 (WINAPI *pLoadLibrary16)(LPCSTR libname);
static FARPROC16 (WINAPI *pGetProcAddress16)(HMODULE16 hModule, LPCSTR name);
......
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