From 4c8a8a412a0e77293042575da12b7e6e15c671dc Mon Sep 17 00:00:00 2001 From: cxl Date: Thu, 19 Jan 2012 07:38:03 +0000 Subject: [PATCH] *Core: Fix in Randomf (INT64 should be I64) git-svn-id: svn://ultimatepp.org/upp/trunk@4441 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/Random.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/Random.cpp b/uppsrc/Core/Random.cpp index f9e4585f5..48125a5e9 100644 --- a/uppsrc/Core/Random.cpp +++ b/uppsrc/Core/Random.cpp @@ -240,7 +240,7 @@ qword Random64(qword n) double Randomf() { - return Random64(INT64(4503599627370496)) / 4503599627370496.0; + return Random64(I64(4503599627370496)) / 4503599627370496.0; } END_UPP_NAMESPACE