Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / video_engine / test / auto_test / source / vie_autotest_main.cc
index c688e2e..1617258 100644 (file)
@@ -106,10 +106,10 @@ int ViEAutoTestMain::AskUserForNumber(int min_allowed, int max_allowed) {
   int result;
   if (scanf("%d", &result) <= 0) {
     ViETest::Log("\nPlease enter a number instead, then hit enter.");
-    getchar();
+    getc(stdin);
     return kInvalidChoice;
   }
-  getchar();  // Consume enter key.
+  getc(stdin);  // Consume enter key.
 
   if (result < min_allowed || result > max_allowed) {
     ViETest::Log("%d-%d are valid choices. Please try again.", min_allowed,