Pavan Balaji, le Fri 03 May 2013 06:45:10 +0200, a écrit :
> -Wbad-function-cast'.
> 
> lstopo-draw.c:437: warning: cast from function call of type 'double' to
> non-matching type 'unsigned int'

I'm not sure to understand what one is supposed to do here.
double->float->unsigned is less precise than double->unsigned.  I
don't know any standard function that would do the double->unsigned
conversion, thus simply casting, which should already be doing the job
exactly how we want, anyway...

Samuel

Reply via email to