W dniu 11.10.2010 16:04, Rainer Gerhards pisze:
>> I meant this as a last resort, if the math lib is not available. 

Shouldn't be any error while compilling?

> yup, simple calculations do the job. The code currently is:
> 
> ceil(unsigned * 0.65)
> 
> which equals
> 
> ((unsigned long long) unsigned * 65) / 100

heh, let's go back to math from primary school :D

> Will patch soon...

I'm waiting. Thanks for quick response!
Regards
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to