Added typecast to fix compile error in starbrowser.cpp (gcc 4.3 only, apparently)
parent
dcfb117012
commit
d119b40ed5
|
@ -193,7 +193,7 @@ StarBrowser::listStars(unsigned int nStars)
|
|||
solarSysPred.pos = pos;
|
||||
solarSysPred.solarSystems = solarSystems;
|
||||
return findStars(*(univ->getStarCatalog()), solarSysPred,
|
||||
min(nStars, solarSystems->size()));
|
||||
min((size_t) nStars, solarSystems->size()));
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue