mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-30 22:45:21 -04:00
[iso] fix crash when opening Windows ISOs
* Closes #1268
* Issue was introduced in 521034da99
and has
to do with VS2017's handling of static strings in RELEASE mode.
Fix is to use a static char array instead.
* Also fix MinGw build warnings and increase process search timeout
This commit is contained in:
parent
326ae54f45
commit
f98c243eb8
5 changed files with 12 additions and 11 deletions
|
@ -255,7 +255,7 @@ void GetWindowsVersion(void)
|
|||
OSVERSIONINFOEXA vi, vi2;
|
||||
const char* w = 0;
|
||||
const char* w64 = "32 bit";
|
||||
char *vptr, build_number[10] = "";
|
||||
char *vptr;
|
||||
size_t vlen;
|
||||
unsigned major, minor;
|
||||
ULONGLONG major_equal, minor_equal;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue