20240927 update
Author: ax_pokl,
published 1 month ago,
By addressing the warnings in the code, the following issues have been fixed:
Corrected an error in window style initialization caused by operator precedence nesting errors.
Fixed several issues where incorrect integer type conversions led to wrong filenames or display strings.
Fixed an issue during minefield initialization where the surrounding area was not fully cleared due to an operator error (logical AND mistakenly written as bitwise AND).
Fixed a top-row number calculation error in the minefield caused by incorrect initialization when clearing lines.
Corrected an issue with leaderboard usernames being displayed incorrectly and a potential overflow problem due to incorrect username length settings.
Resolved a potential statistics reading error caused by improper typecasting (integer pointer to float pointer).
Removed some unused code (unused variables). These fixes also further reduced the malicious detection rate in VirusTotal.