[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] patch:XaAES:taskman



fix for gcc4.

--- orig/taskman.c	2010-01-04 23:31:12.000000000 +0100
+++ taskman.c	2010-01-09 15:01:39.203125000 +0100
@@ -391,7 +391,8 @@
 						title = wi->wname;
 						if( title && *title )
 						{
-							(const char *)t.text = title;
+							char *tx = wi->wname;
+							t.text = tx;
 							list->set(list, thiswi, SESET_TEXT, (long)&t, true);
 						}
 					}