Remove potential compiler error with -Wc++11-narrowing
This commit is contained in:
parent
86a9aa6099
commit
793f4b90fa
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user