Add explicit type conversion to fix mingw compile error
Add explicit type conversion to fix mingw compile error

Change-Id: Id15e68fc34fd8fbb386794f04039a23766691cfe
Reviewed-by: Hugo Parente Lima <e250cbdf6b5a11059e9d944a6e5e9282be80d14c@openbossa.org>

PySide/PySide,BadSingleton/pyside2,RobinD42/pyside,RobinD42/pyside,RobinD42/pyside,PySide/PySide,BadSingleton/pyside2,IronManMark20/pyside2,RobinD42/pyside,IronManMark20/pyside2,gbaty/pyside2,qtproject/pyside-pyside,PySide/PySide,gbaty/pyside2,pankajp/pyside,pankajp/pyside,enthought/pyside,PySide/PySide,enthought/pyside,BadSingleton/pyside2,qtproject/pyside-pyside,enthought/pyside,IronManMark20/pyside2,qtproject/pyside-pyside,gbaty/pyside2,IronManMark20/pyside2,BadSingleton/pyside2,RobinD42/pyside,RobinD42/pyside,enthought/pyside,pankajp/pyside,RobinD42/pyside,IronManMark20/pyside2,enthought/pyside,enthought/pyside,pankajp/pyside,PySide/PySide,enthought/pyside,gbaty/pyside2,BadSingleton/pyside2,gbaty/pyside2,qtproject/pyside-pyside,qtproject/pyside-pyside,pankajp/pyside