Fix warnings reported by windows qt6 ci
Fixes - "warning C4804: '-': unsafe use of type 'bool' in operation" - warning C4477: 'fprintf' : format string '%i' requires an argument of type 'int', but variadic argument 1 has type 'qsizetype'
Fixes - "warning C4804: '-': unsafe use of type 'bool' in operation" - warning C4477: 'fprintf' : format string '%i' requires an argument of type 'int', but variadic argument 1 has type 'qsizetype'
mentioned in commit 9d7fe6ab