Skip to content

Commit 5f9e4e9

Browse files
committed
Fix Windows purecall handler signature for CI build
1 parent 37a280d commit 5f9e4e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/gui/main_gui.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,9 @@ void startupInvalidParameterHandler(const wchar_t* expression,
331331
writeCrashDump(nullptr, "invalid_param");
332332
}
333333

334-
int __cdecl startupPurecallHandler() {
334+
void __cdecl startupPurecallHandler() {
335335
writeStartupLog("CRT pure virtual call detected");
336336
writeCrashDump(nullptr, "purecall");
337-
return 0;
338337
}
339338

340339
void startupSignalHandler(int sig) {

0 commit comments

Comments
 (0)