http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47742

--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-02-15 
23:16:09 UTC ---
Let me try again:

I think GCC (>= 4.4) should catch this using -Wconversion if you drop the
explicit
cast like in:

long infc = LONG_MAX;
double real_size = infc;

Doesn't it?

Reply via email to