diff --git a/auto_tests/save_compatibility_test.c b/auto_tests/save_compatibility_test.c index d6d3448b..30e87ef8 100644 --- a/auto_tests/save_compatibility_test.c +++ b/auto_tests/save_compatibility_test.c @@ -78,8 +78,9 @@ static void test_save_compatibility(const char *save_path) options.savedata_length = size; options.savedata_type = TOX_SAVEDATA_TYPE_TOX_SAVE; + size_t index = 0; Tox_Err_New err; - Tox *tox = tox_new(&options, &err); + Tox *tox = tox_new_log(&options, &err, &index); ck_assert_msg(tox, "failed to create tox, error number: %d", err); free(save_data);