From mint-bounce@lists.fishpool.fi  Sat Jan  9 09:07:18 2010
Message-ID: <882996.639094444-sendEmail@descaro>
From: "Helmut Karlowski" <helmut.karlowski@ish.de>
To: "mint" <mint@lists.fishpool.fi>
Cc: "helmut.karlowski@ish.de" <helmut.karlowski@ish.de>
Subject: [MiNT] patch:XaAES:taskman
Date: Sat, 9 Jan 2010 14:05:11 +0000
X-Mailer: sendEmail-1.55
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----MIME delimiter for sendEmail-840086.596625955"
X-Antivirus: avast! (VPS 100109-0, 09.01.2010), Outbound message
X-Antivirus-Status: Clean
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: helmut.karlowski@ish.de
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>

This is a multi-part message in MIME format. To properly display this message you need a MIME-Version 1.0 compliant Email program.

------MIME delimiter for sendEmail-840086.596625955
Content-Type: text/plain;
  charset="iso-8859-1"
  Content-Transfer-Encoding: quoted-printable

fix for gcc4.


------MIME delimiter for sendEmail-840086.596625955
Content-Type: text/plain;
 name="taskman.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="taskman.patch"

--- 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);
 						}
 					}

------MIME delimiter for sendEmail-840086.596625955--


