Fix clang warnings. offset is always long.