Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 143703
Collapse All | Expand All

(-)a/biewlib/file_ini.c (-6 / +6 lines)
Lines 1295-1301 Link Here
1295
  void __HUGE__ *found;
1295
  void __HUGE__ *found;
1296
  ini_cache __HUGE__ *it;
1296
  ini_cache __HUGE__ *it;
1297
  ini_cache ic;
1297
  ini_cache ic;
1298
  (const char *)ic.item = section;
1298
  ic.item = section;
1299
  ic.flags = 0;
1299
  ic.flags = 0;
1300
  if(!(found =la_Find((linearArray *)opening->cache,&ic,__full_compare_cache)))
1300
  if(!(found =la_Find((linearArray *)opening->cache,&ic,__full_compare_cache)))
1301
  {
1301
  {
Lines 1325-1331 Link Here
1325
  {
1325
  {
1326
    do_subsect:
1326
    do_subsect:
1327
      it = (ini_cache __HUGE__ *)found;
1327
      it = (ini_cache __HUGE__ *)found;
1328
      (const char *)ic.item = subsection;
1328
      ic.item = subsection;
1329
      if(!(found=la_Find(it->v.leaf,&ic,__full_compare_cache)))
1329
      if(!(found=la_Find(it->v.leaf,&ic,__full_compare_cache)))
1330
      {
1330
      {
1331
        ic.item = PMalloc(strlen(subsection)+1);
1331
        ic.item = PMalloc(strlen(subsection)+1);
Lines 1354-1360 Link Here
1354
      {
1354
      {
1355
        do_item:
1355
        do_item:
1356
        it = (ini_cache __HUGE__ *)found;
1356
        it = (ini_cache __HUGE__ *)found;
1357
        (const char *)ic.item = item;
1357
        ic.item = item;
1358
        ic.flags = IC_STRING;
1358
        ic.flags = IC_STRING;
1359
        if(!(found=la_Find(it->v.leaf,&ic,__full_compare_cache)))
1359
        if(!(found=la_Find(it->v.leaf,&ic,__full_compare_cache)))
1360
        {
1360
        {
Lines 1589-1603 Link Here
1589
          ini_cache ic;
1589
          ini_cache ic;
1590
          void __HUGE__ *found,__HUGE__ *foundi,__HUGE__ *foundv;
1590
          void __HUGE__ *found,__HUGE__ *foundi,__HUGE__ *foundv;
1591
          ini_cache __HUGE__ *fi;
1591
          ini_cache __HUGE__ *fi;
1592
          (const char *)ic.item = section;
1592
          ic.item = section;
1593
          ic.flags = 0;
1593
          ic.flags = 0;
1594
          if((found=la_Find(ini->cache,&ic,__full_compare_cache))!=NULL)
1594
          if((found=la_Find(ini->cache,&ic,__full_compare_cache))!=NULL)
1595
          {
1595
          {
1596
            (const char *)ic.item=subsection;
1596
            ic.item=subsection;
1597
            fi = (ini_cache __HUGE__ *)found;
1597
            fi = (ini_cache __HUGE__ *)found;
1598
            if((foundi=la_Find(fi->v.leaf,&ic,__full_compare_cache))!=NULL)
1598
            if((foundi=la_Find(fi->v.leaf,&ic,__full_compare_cache))!=NULL)
1599
            {
1599
            {
1600
               (const char *)ic.item = _item;
1600
               ic.item = _item;
1601
               ic.flags = IC_STRING;
1601
               ic.flags = IC_STRING;
1602
               fi = (ini_cache __HUGE__ *)foundi;
1602
               fi = (ini_cache __HUGE__ *)foundi;
1603
               if((foundv=la_Find(fi->v.leaf,&ic,__full_compare_cache))!=NULL)
1603
               if((foundv=la_Find(fi->v.leaf,&ic,__full_compare_cache))!=NULL)
(-)a/biewlib/twin.c (-2 / +2 lines)
Lines 1891-1899 Link Here
1891
       strcpy(__nls,str);
1891
       strcpy(__nls,str);
1892
       __nls_OemToOsdep((unsigned char *)__nls,len);
1892
       __nls_OemToOsdep((unsigned char *)__nls,len);
1893
     }
1893
     }
1894
     else (const char *)__nls = str;
1894
     else __nls = str;
1895
  }
1895
  }
1896
  else (const char *)__nls = str;
1896
  else __nls = str;
1897
  __nls_ptr = __nls;
1897
  __nls_ptr = __nls;
1898
  __oem_ptr = str;
1898
  __oem_ptr = str;
1899
  vidx = active->cur_x + active->cur_y*active->wwidth;
1899
  vidx = active->cur_x + active->cur_y*active->wwidth;
(-)a/biewlib/tw_class.c (-1 / +1 lines)
Lines 71-76 Link Here
71
TwClass * __FASTCALL__ twcFindClass(const char *name)
71
TwClass * __FASTCALL__ twcFindClass(const char *name)
72
{
72
{
73
 TwClass key;
73
 TwClass key;
74
 (const char *)(key.name) = name;
74
 key.name = name;
75
 return (TwClass *)la_Find(class_set,&key, comp_class);
75
 return (TwClass *)la_Find(class_set,&key, comp_class);
76
}
76
}
(-)a/biewlib/sysdep/ia32/aclib_template.c (-5 / +5 lines)
Lines 209-216 Link Here
209
		MOVNTQ" %%mm6, 48(%1)\n"
209
		MOVNTQ" %%mm6, 48(%1)\n"
210
		MOVNTQ" %%mm7, 56(%1)\n"
210
		MOVNTQ" %%mm7, 56(%1)\n"
211
		:: "r" (from), "r" (to) : "memory");
211
		:: "r" (from), "r" (to) : "memory");
212
		((const unsigned char *)from)+=64;
212
		from+=64;
213
		((unsigned char *)to)+=64;
213
		to+=64;
214
	}
214
	}
215
215
216
	// Pure Assembly cuz gcc is a bit unpredictable ;)
216
	// Pure Assembly cuz gcc is a bit unpredictable ;)
Lines 297-304 Link Here
297
		MOVNTQ" %%mm6, 48(%1)\n"
297
		MOVNTQ" %%mm6, 48(%1)\n"
298
		MOVNTQ" %%mm7, 56(%1)\n"
298
		MOVNTQ" %%mm7, 56(%1)\n"
299
		:: "r" (from), "r" (to) : "memory");
299
		:: "r" (from), "r" (to) : "memory");
300
		((const unsigned char *)from)+=64;
300
		from+=64;
301
		((unsigned char *)to)+=64;
301
		to+=64;
302
	}
302
	}
303
303
304
#endif /* Have SSE */
304
#endif /* Have SSE */
Lines 393-399 Link Here
393
		MOVNTQ" %%mm0, 112(%0)\n"
393
		MOVNTQ" %%mm0, 112(%0)\n"
394
		MOVNTQ" %%mm0, 120(%0)\n"
394
		MOVNTQ" %%mm0, 120(%0)\n"
395
		:: "r" (to) : "memory");
395
		:: "r" (to) : "memory");
396
		((unsigned char *)to)+=128;
396
		to+=128;
397
	}
397
	}
398
#endif /* Have SSE */
398
#endif /* Have SSE */
399
#ifdef HAVE_MMX2
399
#ifdef HAVE_MMX2
(-)a/biewlib/sysdep/ia16/cmn_ix86.c (-1 / +1 lines)
Lines 47-53 Link Here
47
  ctrl_arr = c_arr;
47
  ctrl_arr = c_arr;
48
  /* align pointer on 16-byte boundary */
48
  /* align pointer on 16-byte boundary */
49
49
50
  if((tUInt32)ctrl_arr & 15) ((tUInt32)ctrl_arr) += 16-((tUInt32)ctrl_arr&15);
50
  if((tUInt32)ctrl_arr & 15) ctrl_arr += 16-((tUInt32)ctrl_arr&15);
51
51
52
  memset(ctrl_arr,0,sizeof(ctrl_arr));
52
  memset(ctrl_arr,0,sizeof(ctrl_arr));
53
  if(time_interval)
53
  if(time_interval)

Return to bug 143703