'Codeigniter Bcrypt Implicit conversion from Error

bcrypt I am getting an error while generating and comparing password using bcrypt

Error Message :

Message: Implicit conversion from float 48.8 to int loses precision

Filename: libraries/Bcrypt.php

Line Number: 217

Code

        $output .= chr(ord('0') + $this->_iteration_count / 10);
    $output .= chr(ord('0') + $this->_iteration_count % 10);

Bcrypt Link : https://github.com/dwightwatson/codeigniter-bcrypt/blob/master/libraries/Bcrypt.php

Error Functions: gensalt_blowfish

Thanks to everyone who knows the problem.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source