fixed warnings when compiled with -Wwrite-strings
[reactos.git] / reactos / apps / utils / ps / ps.c
index e2f8ddf..05b49d5 100644 (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     "},