From 793f4b90fac349b096922a6b90ae2731777ac6cf Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 19 Jan 2022 12:03:38 +0100 Subject: Remove potential compiler error with -Wc++11-narrowing --- fluid/ExternalCodeEditor_WIN32.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluid/ExternalCodeEditor_WIN32.cxx b/fluid/ExternalCodeEditor_WIN32.cxx index 5536947cf..f226450e3 100644 --- a/fluid/ExternalCodeEditor_WIN32.cxx +++ b/fluid/ExternalCodeEditor_WIN32.cxx @@ -492,7 +492,7 @@ void ExternalCodeEditor::reap_cleanup() { int ExternalCodeEditor::reap_editor(DWORD *pid_reaped) { if ( pid_reaped ) *pid_reaped = 0; if ( !is_editing() ) return -2; - int err; + DWORD err; DWORD msecs_wait = 50; // .05 sec switch ( err = WaitForSingleObject(pinfo_.hProcess, msecs_wait) ) { case WAIT_TIMEOUT: { // process didn't reap, still running -- cgit v1.2.3