diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-01-19 12:03:38 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-01-19 12:03:45 +0100 |
| commit | 793f4b90fac349b096922a6b90ae2731777ac6cf (patch) | |
| tree | 3f920d1cb87f5d0c4d00f0cd8c72ae66354102ef /fluid/ExternalCodeEditor_WIN32.cxx | |
| parent | 86a9aa609925c24ef08cae6216b2ace3c920578b (diff) | |
Remove potential compiler error with -Wc++11-narrowing
Diffstat (limited to 'fluid/ExternalCodeEditor_WIN32.cxx')
| -rw-r--r-- | fluid/ExternalCodeEditor_WIN32.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
