fixed a minor glitch in the pio sample code

This commit is contained in:
2011-08-13 22:44:43 +00:00
parent 14572f08aa
commit 8923102323
2 changed files with 2 additions and 2 deletions

View File

@ -336,7 +336,7 @@ static int test12 (void)
qse_printf (QSE_T("sleeping for %d seconds\n"), n);
Sleep (n * 1000);
qse_printf (QSE_T("WaitForSingleObject....%d\n"),
(int)WaitForSingleObject (pio->child, 0));
(int)WaitForSingleObject (pio->child, INFINITE));
}
#elif defined(__OS2__)
{