mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 18:46:21 +00:00
Fixed tests to work with cmocka 0.4.1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user