Use the right (unsigned) types to get to 4GB db file.