Changeset 1906 for trunk/src


Ignore:
Timestamp:
Oct 21, 2008, 7:38:50 AM (17 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.