Fixed tests to work with cmocka 0.4.1

This commit is contained in:
James Booth
2014-05-26 01:05:19 +01:00
parent 60b59d984a
commit 52f66fde10
6 changed files with 17 additions and 17 deletions

View File

@@ -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