Changed labs to llabs -- an int64_t is best approximated by a long long, not a long.