mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 07:14:47 +00:00
Remove a C-style-cast.
This commit is contained in:
parent
d97bc773bd
commit
4db9b30926
@ -2006,7 +2006,7 @@ int m_rand(int limit) {
|
||||
#else
|
||||
unsigned int n = genrand();
|
||||
#endif
|
||||
return (int)(n % limit);
|
||||
return n % limit;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user