Steve Peters (via RT) wrote:


The attached patch fixes a compiler warning in smallobject.c. The #define UNITS_PER_ALLOC_GROWTH_FACTOR has a value of 1.75, but is multiplied to a size_t. This patch sets UNITS_PER_ALLOC_GROWTH_FACTOR to (size_t)2.


Not good. Changing values to get rid of warnings is not the way to go. And why multiplying a float to a size_t should be a warning is out of my scope.
You could try explicit casts to get rid of the warning.



Steve Peters
[EMAIL PROTECTED]


leo




Reply via email to