diff options
Diffstat (limited to 'editors/biew/patches/patch-ab')
-rw-r--r-- | editors/biew/patches/patch-ab | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/editors/biew/patches/patch-ab b/editors/biew/patches/patch-ab new file mode 100644 index 00000000000..08b58d64b89 --- /dev/null +++ b/editors/biew/patches/patch-ab @@ -0,0 +1,50 @@ +$NetBSD: patch-ab,v 1.3 2006/06/30 22:22:58 wiz Exp $ + +--- biewlib/file_ini.c.orig 2004-02-26 15:53:22.000000000 +0000 ++++ biewlib/file_ini.c +@@ -1295,7 +1295,7 @@ static tBool __NEAR__ __FASTCALL__ __add + 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 @@ static tBool __NEAR__ __FASTCALL__ __add + { + 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 @@ static tBool __NEAR__ __FASTCALL__ __add + { + 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 @@ unsigned __FASTCALL__ iniReadProfileStri + 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) |