fix 64bit conversion bug. realloc offset should have
been 64bit not 32bit in Linkdb.cpp.