Fixed strange issue with unsigned long / int parameter.