[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#134822: celestia: Celestia dies with "Floating point exception"



>> Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> writes:

 > Where nStars is unsigned int and solarSystems-size() is size_t.  On 32
 > bit systems, size_t happens to be identical to unsigned int, so the
 > bug goes unnoticed.  The fix is to declare nStars as size_t, or to
 > cast one of the parameters.

 Duh.  Deja-vu, I remember this...

 Anyways, thanks for pointing out the problem,

-- 
Marcelo



Reply to: