Remove a C-style-cast.
This commit is contained in:
parent
d97bc773bd
commit
4db9b30926
1 changed files with 1 additions and 1 deletions
|
@ -2006,7 +2006,7 @@ int m_rand(int limit) {
|
|||
#else
|
||||
unsigned int n = genrand();
|
||||
#endif
|
||||
return (int)(n % limit);
|
||||
return n % limit;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue