From caa10b5cd36bee7f6fe2cc35c6d92528820f3d7d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 11 May 2004 20:38:36 +0000 Subject: [PATCH] int64_t --- stepmania/src/ScoreKeeperMAX2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ScoreKeeperMAX2.cpp b/stepmania/src/ScoreKeeperMAX2.cpp index 9c14fd625c..492e2b35e4 100644 --- a/stepmania/src/ScoreKeeperMAX2.cpp +++ b/stepmania/src/ScoreKeeperMAX2.cpp @@ -204,7 +204,7 @@ static int GetScore(int p, int B, int S, int n) return p * (B / S) * n; #elif 1 /* This doesn't round down B/S. */ - return int(Uint64(p) * n * B / S); + return int(int64_t(p) * n * B / S); #else /* This also doesn't round down B/S. Use this if you don't have 64-bit ints. */ return int(p * n * (float(B) / S));