diff options
author | James Booth <boothj5@gmail.com> | 2014-05-26 01:05:19 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-05-26 01:05:19 +0100 |
commit | 52f66fde105eb48f114d6c92ff71da78ec458466 (patch) | |
tree | 12803993d0a38d5815b25778de88604756363389 /tests/ui | |
parent | 60b59d984a4576c780d56e9427248657776fdb01 (diff) | |
download | profani-tty-52f66fde105eb48f114d6c92ff71da78ec458466.tar.gz |
Fixed tests to work with cmocka 0.4.1
Diffstat (limited to 'tests/ui')
-rw-r--r-- | tests/ui/mock_ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/mock_ui.c b/tests/ui/mock_ui.c index e81118e9..2cfde09a 100644 --- a/tests/ui/mock_ui.c +++ b/tests/ui/mock_ui.c @@ -73,7 +73,7 @@ void _mock_cons_show_account_list(gchar **accounts) static char * _mock_ui_ask_password(void) { - return (char *)mock(); + return mock_ptr_type(char *); } static @@ -91,7 +91,7 @@ win_type_t _mock_ui_current_win_type(void) static char * _mock_ui_current_recipeint(void) { - return (char *)mock(); + return mock_ptr_type(char *); } static |