[FIX] fixed sprintf format issues for __int64 defined as long (not long long)