Fix a warning

(based on commit 39b7501)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>