mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-11 04:11:42 +00:00
Fix two warnings on MinGW
This commit is contained in:
@@ -320,7 +320,7 @@ static char *execProg(char const *name, char * const *argv) {
|
||||
nullptr,
|
||||
errnum,
|
||||
0,
|
||||
(LPTSTR)&buf,
|
||||
reinterpret_cast<LPTSTR>(&buf),
|
||||
0,
|
||||
nullptr
|
||||
)
|
||||
@@ -341,7 +341,8 @@ static char *execProg(char const *name, char * const *argv) {
|
||||
|
||||
STARTUPINFOA startupInfo;
|
||||
GetStartupInfoA(&startupInfo);
|
||||
STARTUPINFOA childStartupInfo = {sizeof(startupInfo)};
|
||||
STARTUPINFOA childStartupInfo = {};
|
||||
childStartupInfo.cb = sizeof(startupInfo);
|
||||
|
||||
PROCESS_INFORMATION child;
|
||||
if (CreateProcessA(
|
||||
|
||||
Reference in New Issue
Block a user