summaryrefslogtreecommitdiff
path: root/editors/biew/patches/patch-ac
diff options
context:
space:
mode:
authorwiz <wiz>2006-06-30 22:22:58 +0000
committerwiz <wiz>2006-06-30 22:22:58 +0000
commit5fef4d8b29dc5311ce16376790c7041cf5e28d59 (patch)
treee5ab69cb092751255c9755961cc27df0933564ed /editors/biew/patches/patch-ac
parent74b01dc79f9255f50fb79b888319624f094e2df9 (diff)
downloadpkgsrc-5fef4d8b29dc5311ce16376790c7041cf5e28d59.tar.gz
Remove some lvalue casts to make this compile with gcc-4.1.
Diffstat (limited to 'editors/biew/patches/patch-ac')
-rw-r--r--editors/biew/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/biew/patches/patch-ac b/editors/biew/patches/patch-ac
new file mode 100644
index 00000000000..bd988990ace
--- /dev/null
+++ b/editors/biew/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2006/06/30 22:22:58 wiz Exp $
+
+--- biewlib/sysdep/ia16/cmn_ix86.c.orig 2003-03-27 06:19:30.000000000 +0000
++++ biewlib/sysdep/ia16/cmn_ix86.c
+@@ -47,7 +47,7 @@ static unsigned long __NEAR__ __FASTCALL
+ ctrl_arr = c_arr;
+ /* align pointer on 16-byte boundary */
+
+- if((tUInt32)ctrl_arr & 15) ((tUInt32)ctrl_arr) += 16-((tUInt32)ctrl_arr&15);
++ if((tUInt32)ctrl_arr & 15) ctrl_arr = ((tUInt32)ctrl_arr) + 16-((tUInt32)ctrl_arr&15);
+
+ memset(ctrl_arr,0,sizeof(ctrl_arr));
+ if(time_interval)