examples: Fix build warning in waiter_test.
diff --git a/example/chef_wrap/waiter_test_wrap.c b/example/chef_wrap/waiter_test_wrap.c
index f65d5de..1fa930b 100644
--- a/example/chef_wrap/waiter_test_wrap.c
+++ b/example/chef_wrap/waiter_test_wrap.c
@@ -61,21 +61,21 @@
check_expected(order);
- knows_dish = (bool) mock();
+ knows_dish = mock_type(bool);
if (knows_dish == false) {
return -1;
}
- has_ingredients = (bool) mock();
+ has_ingredients = mock_type(bool);
if (has_ingredients == false) {
return -2;
}
- dish = (char *) mock();
+ dish = mock_ptr_type(char *);
*dish_out = strdup(dish);
if (*dish_out == NULL) return ENOMEM;
- return mock();
+ return mock_type(int);
}
/* Waiter return codes: