That's the correct place to add the cast. There was another bug that caused a segfault, when picking a game. I'll see if I can find what I changed.
On 6/16/05, Massimo Maiurana <[EMAIL PROTECTED]> wrote: > Il giorno Wed, 15 Jun 2005 19:11:49 +0200 Tilman scrisse: > > > Massimo Maiurana <[EMAIL PROTECTED]> [2005-06-14 21:34]: > > > I've just downloaded it, but trying to make I get this error: > > > [...] > > > > Read Nathan's reply ;) > > ok, but where exactly should I add the cast? > I'm not a coder, so I tried to add it in sqrt(), like this: > > m = eli_card->eli->velocity * 0.02 / sqrt( (double) SQR(to_x - from_x) > + SQR(to_y - from_y)); ^^^^^^^^ > > it now compiles, but if I try to select a game it exits. > > -- > Massimo Maiurana mailto:[EMAIL PROTECTED] > http://massimo.solira.org GPG keyID #7044D601 > > Articolo 11 - L'Italia ripudia la guerra come strumento di offesa alla > libertà degli altri popoli e come mezzo di risoluzione delle > controversie internazionali.... > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel