summaryrefslogtreecommitdiff
path: root/ext/SDBM_File/sdbm/pair.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/SDBM_File/sdbm/pair.c')
-rw-r--r--ext/SDBM_File/sdbm/pair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/SDBM_File/sdbm/pair.c b/ext/SDBM_File/sdbm/pair.c
index a02c73f28f..23bbfe9a67 100644
--- a/ext/SDBM_File/sdbm/pair.c
+++ b/ext/SDBM_File/sdbm/pair.c
@@ -231,7 +231,7 @@ register int siz;
for (i = 1; i < n; i += 2) {
if (siz == off - ino[i] &&
- memcmp(key, pag + ino[i], siz) == 0)
+ memEQ(key, pag + ino[i], siz))
return i;
off = ino[i + 1];
}