From ee67e310c96d54c09bb8f081f932e7b85b898c13 Mon Sep 17 00:00:00 2001 From: Gordon <46924906+FGadvancer@users.noreply.github.com> Date: Mon, 4 Dec 2023 18:12:48 +0800 Subject: [PATCH] fix: rename args. --- c_cpp_wrapper/openimsdkcc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c_cpp_wrapper/openimsdkcc.cc b/c_cpp_wrapper/openimsdkcc.cc index 02e2066..dcbfd85 100644 --- a/c_cpp_wrapper/openimsdkcc.cc +++ b/c_cpp_wrapper/openimsdkcc.cc @@ -280,7 +280,7 @@ std::string OpenIMManager::CreateImageMessageByURL(const std::string& operationI char* sourcePicture_cs=const_cast(sourcePicture.c_str()); char* bigPicture_cs=const_cast(bigPicture.c_str()); char* snapshotPicture_cs=const_cast(snapshotPicture.c_str()); - char* result_cs=create_image_message_by_url(operationID_cs,soundPath_cs,sourcePicture_cs,bigPicture_cs,snapshotPicture_cs); + char* result_cs=create_image_message_by_url(operationID_cs,sourcePath_cs,sourcePicture_cs,bigPicture_cs,snapshotPicture_cs); std::string result(result_cs); free(result_cs); return result;