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/otr | |
parent | 60b59d984a4576c780d56e9427248657776fdb01 (diff) | |
download | profani-tty-52f66fde105eb48f114d6c92ff71da78ec458466.tar.gz |
Fixed tests to work with cmocka 0.4.1
Diffstat (limited to 'tests/otr')
-rw-r--r-- | tests/otr/mock_otr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/otr/mock_otr.c b/tests/otr/mock_otr.c index e73d0ba2..25409197 100644 --- a/tests/otr/mock_otr.c +++ b/tests/otr/mock_otr.c @@ -24,20 +24,20 @@ _mock_otr_keygen(ProfAccount *account) static char * _mock_otr_libotr_version(void) { - return (char *)mock(); + return mock_ptr_type(char *); } static char * _mock_otr_get_my_fingerprint(void) { - return (char *)mock(); + return mock_ptr_type(char *); } static char * _mock_otr_get_their_fingerprint(const char * const recipient) { check_expected(recipient); - return (char *)mock(); + return mock_ptr_type(char *); } static gboolean @@ -49,7 +49,7 @@ _mock_otr_key_loaded(void) static char * _mock_otr_start_query(void) { - return (char *)mock(); + return mock_ptr_type(char *); } void |