Index: mojo/public/c/system/tests/core_unittest_pure_c.c |
diff --git a/mojo/public/c/system/tests/core_unittest_pure_c.c b/mojo/public/c/system/tests/core_unittest_pure_c.c |
index 3766431b99e89ca7f14810617a6c91eaab258399..cbe2cbe25d79cd164243c50c648604ece069e027 100644 |
--- a/mojo/public/c/system/tests/core_unittest_pure_c.c |
+++ b/mojo/public/c/system/tests/core_unittest_pure_c.c |
@@ -42,7 +42,7 @@ const char* MinimalCTest(void) { |
// at the top. (MSVS 2013 is more reasonable.) |
MojoTimeTicks ticks; |
MojoHandle handle0, handle1; |
- MojoWaitFlags wait_flags; |
+ MojoHandleSignals signals; |
const char kHello[] = "hello"; |
char buffer[200] = { 0 }; |
uint32_t num_bytes; |
@@ -60,9 +60,9 @@ const char* MinimalCTest(void) { |
handle1 = MOJO_HANDLE_INVALID; |
EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(NULL, &handle0, &handle1)); |
- wait_flags = MOJO_WAIT_FLAG_READABLE; |
+ signals = MOJO_WAIT_FLAG_READABLE; |
EXPECT_EQ(MOJO_RESULT_DEADLINE_EXCEEDED, |
- MojoWaitMany(&handle0, &wait_flags, 1, 1)); |
+ MojoWaitMany(&handle0, &signals, 1, 1)); |
EXPECT_EQ(MOJO_RESULT_OK, |
MojoWriteMessage(handle0, kHello, (uint32_t) sizeof(kHello), NULL, |