At compile, the compiler warns that it's using a double where an int is expected. This cast clears up the warning, just a one-liner change.
Log in to post a comment.