VirtualBox

Changeset 1906 in kBuild


Ignore:
Timestamp:
Oct 21, 2008 5:38:50 AM (16 years ago)
Author:
bird
Message:

strcache2: oops, mixed arguments to inlined functions screwing up alignment checks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/strcache2.c

    r1905 r1906  
    473473
    474474#if 0
    475   return memcmp (entry + 1, str, length) == 0;
     475  return memcmp (str, entry + 1, length) == 0;
    476476#elif 1
    477   return strcache2_memcmp_inlined ((const char *)(entry + 1), str, length) == 0;
     477  return strcache2_memcmp_inlined (str, (const char *)(entry + 1), length) == 0;
    478478#else
    479   return strcache2_memcmp_inline_short ((const char *)(entry + 1), str, length) == 0;
     479  return strcache2_memcmp_inline_short (str, (const char *)(entry + 1), length) == 0;
    480480#endif
    481481}
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette