1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-24 01:54:22 +00:00

Couple of minor mouse-pointer fixes.

This commit is contained in:
Julian Storer 2010-03-15 14:08:40 +00:00
parent 574694f458
commit 81b2e7818d
15 changed files with 239 additions and 221 deletions

View file

@ -86,12 +86,12 @@ bool Random::nextBool() throw()
float Random::nextFloat() throw()
{
return ((uint32) nextInt()) / (float) 0xffffffff;
return static_cast <uint32> (nextInt()) / (float) 0xffffffff;
}
double Random::nextDouble() throw()
{
return ((uint32) nextInt()) / (double) 0xffffffff;
return static_cast <uint32> (nextInt()) / (double) 0xffffffff;
}
const BitArray Random::nextLargeNumber (const BitArray& maximumValue) throw()