mirror of
git://erdgeist.org/opentracker
synced 2025-02-17 06:31:30 +08:00
Forgot one define READ32
This commit is contained in:
parent
5fb58458f6
commit
258cae746f
@ -39,7 +39,7 @@ void *binary_search( const void * const key, const void * base, const size_t mem
|
|||||||
*exactmatch = 1;
|
*exactmatch = 1;
|
||||||
|
|
||||||
while( mc ) {
|
while( mc ) {
|
||||||
int32_t cmp = key_cache - (int32_t)uint32_read(lookat);
|
int32_t cmp = key_cache - READ32(lookat,0);
|
||||||
if (cmp == 0) {
|
if (cmp == 0) {
|
||||||
for( offs = 4; cmp == 0 && offs < compare_size; offs += 4 )
|
for( offs = 4; cmp == 0 && offs < compare_size; offs += 4 )
|
||||||
cmp = READ32(key,offs) - READ32(lookat,offs);
|
cmp = READ32(key,offs) - READ32(lookat,offs);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user