summaryrefslogtreecommitdiff
blob: d981452f195b43c9b986c769b668ab23282c9829 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- eicon/eiconctrl.c.orig	2001-03-01 15:59:12.000000000 +0100
+++ eicon/eiconctrl.c	2006-02-04 16:49:25.000000000 +0100
@@ -1970,7 +1970,7 @@
 				val = strtol(p, &q, 16);
 				p = q;
 				val = strtol(p, &q, 16);
-				(unsigned short) *buffer = (unsigned short) val;
+				*(unsigned short*)buffer = (unsigned short) val;
 				pos = 2;
 				while ((p != q) && (*q != 0)) {
 					p = q;