fixed warnings when compiled with -Wwrite-strings

svn path=/trunk/; revision=19132
This commit is contained in:
Thomas Bluemel 2005-11-11 16:18:46 +00:00
parent bda881de13
commit c1d7caca61
3 changed files with 6 additions and 6 deletions

View file

@ -62,7 +62,7 @@ int main(int argc, char **argv)
struct hostent *hp;
struct servent *sp;
int s;
char *host;
const char *host;
WORD wVersionRequested;
WSADATA wsaData;
int err;

View file

@ -90,14 +90,14 @@ typedef struct _SYSTEM_THREADS
// x00000000 00000000 000:00:00 000:00:00 ()
static char* title = "P PID PPID KTime UTime NAME\n";
static char* title1 = "t TID KTime UTime State WaitResson\n";
static char* title2 = "w PID Hwnd WndStile TID WndName\n";
static char title[] = "P PID PPID KTime UTime NAME\n";
static char title1[] = "t TID KTime UTime State WaitResson\n";
static char title2[] = "w PID Hwnd WndStile TID WndName\n";
struct status {
DWORD state;
char desc[10];
const char desc[10];
} thread_stat[8 + 1] = {
{0, "Init "},
{1, "Ready "},

View file

@ -60,7 +60,7 @@ AlphaBlendCleanup(void *Context, PPERF_INFO PerfInfo)
ULONG
DbgPrint(
IN PCH Format,
IN PCSTR Format,
IN ...);
void