Fix a wrong format specifier

Just found a typo. Should not use "%f" for Long.