diff options
Diffstat (limited to 'libctf/testsuite/libctf-regression/open-error-free.c')
-rw-r--r-- | libctf/testsuite/libctf-regression/open-error-free.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libctf/testsuite/libctf-regression/open-error-free.c b/libctf/testsuite/libctf-regression/open-error-free.c index edc5f34..7405cdb 100644 --- a/libctf/testsuite/libctf-regression/open-error-free.c +++ b/libctf/testsuite/libctf-regression/open-error-free.c @@ -143,7 +143,7 @@ int main (void) failure after we corrupt it: the leak is only observable if the dict gets malloced, which only happens after that point.) */ - if ((written = ctf_write_mem (fp, &written_size, (size_t) -1)) == NULL) + if ((written = (char *) ctf_write_mem (fp, &written_size, (size_t) -1)) == NULL) goto write_err; ctf_dict_close (fp); |