diff --git a/src/api/api_seq.cpp b/src/api/api_seq.cpp index e1a6325dcd4..a7eb237b39b 100644 --- a/src/api/api_seq.cpp +++ b/src/api/api_seq.cpp @@ -237,7 +237,7 @@ extern "C" { Z3_CATCH_RETURN(0); } - void Z3_API Z3_get_string_contents(Z3_context c, Z3_ast s, unsigned length, unsigned* contents) { + void Z3_API Z3_get_string_contents(Z3_context c, Z3_ast s, unsigned length, unsigned contents[]) { Z3_TRY; LOG_Z3_get_string_contents(c, s, length, contents); RESET_ERROR_CODE(); diff --git a/src/api/z3_api.h b/src/api/z3_api.h index 3c530f4d645..e6cd0a5b301 100644 --- a/src/api/z3_api.h +++ b/src/api/z3_api.h @@ -3554,7 +3554,7 @@ extern "C" { def_API('Z3_get_string_contents', VOID, (_in(CONTEXT), _in(AST), _in(UINT), _out_array(2, UINT))) */ - void Z3_API Z3_get_string_contents(Z3_context c, Z3_ast s, unsigned length, unsigned buffer[]); + void Z3_API Z3_get_string_contents(Z3_context c, Z3_ast s, unsigned length, unsigned contents[]); /** \brief Create an empty sequence of the sequence sort \c seq.