dtinfo subtree DtMmdb
This commit is contained in:
committed by
Jon Trulson
parent
b92cf08899
commit
8c8363f4a5
@@ -23,7 +23,7 @@ XCOMM .../programs/dtinfo/mmdb/<subdir>/Imakefile
|
||||
#define LargePICTable YES
|
||||
|
||||
#define CplusplusSource YES
|
||||
DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
|
||||
DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
|
||||
|
||||
XCOMM In DtMmdb we compile as C_API sources.
|
||||
DEFINES = -DC_API
|
||||
|
||||
@@ -315,7 +315,7 @@ void disk_hash::caching(disk_bucket& b, data_t& w, int slot_num)
|
||||
|
||||
if ( x ) {
|
||||
hash_vector -> insert(
|
||||
voidPtr(ind),
|
||||
(voidPtr)(size_t)ind,
|
||||
x -> slot_num(k, r, p, hash_vector -> count())
|
||||
);
|
||||
}
|
||||
@@ -330,7 +330,7 @@ void disk_hash::caching(disk_bucket& b, data_t& w, int slot_num)
|
||||
// others may be overwritten.
|
||||
////////////////////////////////////////
|
||||
hash_vector -> insert(
|
||||
voidPtr(slot_num),
|
||||
(voidPtr)(size_t)slot_num,
|
||||
w.slot_num(k, r, p, hash_vector -> count())
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user