[BUGFIX] Removed casting warning.

(bool -> short)