summaryrefslogtreecommitdiff
path: root/ot_vector.c
diff options
context:
space:
mode:
authorerdgeist <>2008-12-06 00:40:36 +0000
committererdgeist <>2008-12-06 00:40:36 +0000
commit258cae746fd81cb0880bfc459b44792468f3b0ac (patch)
tree510092cfe4143714c8c1535510a2996db66b9fcb /ot_vector.c
parent5fb58458f60c07a46f27167bcb210a3610c9c55a (diff)
Forgot one define READ32
Diffstat (limited to 'ot_vector.c')
-rw-r--r--ot_vector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_vector.c b/ot_vector.c
index 6f786e7..7d2a1a9 100644
--- a/ot_vector.c
+++ b/ot_vector.c
@@ -39,7 +39,7 @@ void *binary_search( const void * const key, const void * base, const size_t mem
39 *exactmatch = 1; 39 *exactmatch = 1;
40 40
41 while( mc ) { 41 while( mc ) {
42 int32_t cmp = key_cache - (int32_t)uint32_read(lookat); 42 int32_t cmp = key_cache - READ32(lookat,0);
43 if (cmp == 0) { 43 if (cmp == 0) {
44 for( offs = 4; cmp == 0 && offs < compare_size; offs += 4 ) 44 for( offs = 4; cmp == 0 && offs < compare_size; offs += 4 )
45 cmp = READ32(key,offs) - READ32(lookat,offs); 45 cmp = READ32(key,offs) - READ32(lookat,offs);