Index: files/patch-biewlib-sysdep-ia16_cmn_ix86.c =================================================================== RCS file: files/patch-biewlib-sysdep-ia16_cmn_ix86.c diff -N files/patch-biewlib-sysdep-ia16_cmn_ix86.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-biewlib-sysdep-ia16_cmn_ix86.c 4 Oct 2007 13:27:41 -0000 @@ -0,0 +1,11 @@ +--- biewlib/sysdep/ia16/cmn_ix86.c.orig 2003-03-27 07:19:30.000000000 +0100 ++++ biewlib/sysdep/ia16/cmn_ix86.c 2007-10-04 15:24:45.000000000 +0200 +@@ -47,7 +47,7 @@ + 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) Index: files/patch-biewlib-sysdep-ia32_aclib_template.c =================================================================== RCS file: files/patch-biewlib-sysdep-ia32_aclib_template.c diff -N files/patch-biewlib-sysdep-ia32_aclib_template.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-biewlib-sysdep-ia32_aclib_template.c 4 Oct 2007 13:28:02 -0000 @@ -0,0 +1,33 @@ +--- biewlib/sysdep/ia32/aclib_template.c.orig 2002-12-13 16:31:20.000000000 +0100 ++++ biewlib/sysdep/ia32/aclib_template.c 2007-10-04 15:22:15.000000000 +0200 +@@ -209,8 +209,8 @@ + MOVNTQ" %%mm6, 48(%1)\n" + MOVNTQ" %%mm7, 56(%1)\n" + :: "r" (from), "r" (to) : "memory"); +- ((const unsigned char *)from)+=64; +- ((unsigned char *)to)+=64; ++ from = ((const unsigned char *)from)+64; ++ to = ((unsigned char *)to)+64; + } + + // Pure Assembly cuz gcc is a bit unpredictable ;) +@@ -297,8 +297,8 @@ + MOVNTQ" %%mm6, 48(%1)\n" + MOVNTQ" %%mm7, 56(%1)\n" + :: "r" (from), "r" (to) : "memory"); +- ((const unsigned char *)from)+=64; +- ((unsigned char *)to)+=64; ++ from = ((const unsigned char *)from)+64; ++ to = ((unsigned char *)to)+64; + } + + #endif /* Have SSE */ +@@ -393,7 +393,7 @@ + MOVNTQ" %%mm0, 112(%0)\n" + MOVNTQ" %%mm0, 120(%0)\n" + :: "r" (to) : "memory"); +- ((unsigned char *)to)+=128; ++ to = ((unsigned char *)to)+128; + } + #endif /* Have SSE */ + #ifdef HAVE_MMX2 Index: files/patch-biewlib_file_ini.c =================================================================== RCS file: files/patch-biewlib_file_ini.c diff -N files/patch-biewlib_file_ini.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-biewlib_file_ini.c 4 Oct 2007 13:12:03 -0000 @@ -0,0 +1,48 @@ +--- biewlib/file_ini.c.orig 2007-10-04 15:09:06.000000000 +0200 ++++ biewlib/file_ini.c 2007-10-04 15:11:14.000000000 +0200 +@@ -1295,7 +1295,7 @@ + void __HUGE__ *found; + ini_cache __HUGE__ *it; + ini_cache ic; +- (const char *)ic.item = section; ++ ic.item = section; + ic.flags = 0; + if(!(found =la_Find((linearArray *)opening->cache,&ic,__full_compare_cache))) + { +@@ -1325,7 +1325,7 @@ + { + do_subsect: + it = (ini_cache __HUGE__ *)found; +- (const char *)ic.item = subsection; ++ ic.item = subsection; + if(!(found=la_Find(it->v.leaf,&ic,__full_compare_cache))) + { + ic.item = PMalloc(strlen(subsection)+1); +@@ -1354,7 +1354,7 @@ + { + do_item: + it = (ini_cache __HUGE__ *)found; +- (const char *)ic.item = item; ++ ic.item = item; + ic.flags = IC_STRING; + if(!(found=la_Find(it->v.leaf,&ic,__full_compare_cache))) + { +@@ -1589,15 +1589,15 @@ + ini_cache ic; + void __HUGE__ *found,__HUGE__ *foundi,__HUGE__ *foundv; + ini_cache __HUGE__ *fi; +- (const char *)ic.item = section; ++ ic.item = section; + ic.flags = 0; + if((found=la_Find(ini->cache,&ic,__full_compare_cache))!=NULL) + { +- (const char *)ic.item=subsection; ++ ic.item=subsection; + fi = (ini_cache __HUGE__ *)found; + if((foundi=la_Find(fi->v.leaf,&ic,__full_compare_cache))!=NULL) + { +- (const char *)ic.item = _item; ++ ic.item = _item; + ic.flags = IC_STRING; + fi = (ini_cache __HUGE__ *)foundi; + if((foundv=la_Find(fi->v.leaf,&ic,__full_compare_cache))!=NULL) Index: files/patch-biewlib_tw_clawss.c =================================================================== RCS file: files/patch-biewlib_tw_clawss.c diff -N files/patch-biewlib_tw_clawss.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-biewlib_tw_clawss.c 4 Oct 2007 13:15:58 -0000 @@ -0,0 +1,10 @@ +--- biewlib/tw_class.c.orig 2007-10-04 15:14:56.000000000 +0200 ++++ biewlib/tw_class.c 2007-10-04 15:15:16.000000000 +0200 +@@ -71,6 +71,6 @@ + TwClass * __FASTCALL__ twcFindClass(const char *name) + { + TwClass key; +- (const char *)(key.name) = name; ++ key.name = name; + return (TwClass *)la_Find(class_set,&key, comp_class); + } Index: files/patch-biewlib_twin.c =================================================================== RCS file: files/patch-biewlib_twin.c diff -N files/patch-biewlib_twin.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-biewlib_twin.c 4 Oct 2007 13:14:28 -0000 @@ -0,0 +1,14 @@ +--- biewlib/twin.c.orig 2007-10-04 15:13:06.000000000 +0200 ++++ biewlib/twin.c 2007-10-04 15:13:33.000000000 +0200 +@@ -1891,9 +1891,9 @@ + strcpy(__nls,str); + __nls_OemToOsdep((unsigned char *)__nls,len); + } +- else (const char *)__nls = str; ++ else __nls = str; + } +- else (const char *)__nls = str; ++ else __nls = str; + __nls_ptr = __nls; + __oem_ptr = str; + vidx = active->cur_x + active->cur_y*active->wwidth;