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/config | |
| parent | 60b59d984a4576c780d56e9427248657776fdb01 (diff) | |
| download | profani-tty-52f66fde105eb48f114d6c92ff71da78ec458466.tar.gz | |
Fixed tests to work with cmocka 0.4.1
Diffstat (limited to 'tests/config')
| -rw-r--r-- | tests/config/mock_accounts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/config/mock_accounts.c b/tests/config/mock_accounts.c index 34f8624f..6c555e0d 100644 --- a/tests/config/mock_accounts.c +++ b/tests/config/mock_accounts.c @@ -11,13 +11,13 @@ static ProfAccount * _mock_accounts_get_account(const char * const name) { check_expected(name); - return (ProfAccount *)mock(); + return mock_ptr_type(ProfAccount *); } gchar ** _mock_accounts_get_list(void) { - return (gchar **)mock(); + return mock_ptr_type(gchar **); } void |