From: wchang kim Date: Wed, 5 Jun 2024 08:51:30 +0000 (+0900) Subject: Fixed the build error for gcc-14 X-Git-Tag: accepted/tizen/unified/20240606.161607^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=HEAD;p=platform%2Fcore%2Fpim%2Fcontacts-service.git Fixed the build error for gcc-14 Change-Id: I2aa9f7895b468d76af760609af58932bed9030a3 --- diff --git a/common/ctsvc_vcard.c b/common/ctsvc_vcard.c index 67faab3..65cd43d 100644 --- a/common/ctsvc_vcard.c +++ b/common/ctsvc_vcard.c @@ -1614,7 +1614,7 @@ static bool _ctsvc_vcard_image_util_supported_jpeg_colorspace_cb( ret = image_util_decode_run2(dh, &decoded_image); if (IMAGE_UTIL_ERROR_NONE != ret) break; - ret = image_util_get_image(decoded_image, &_width, &_height, NULL, &buffer, &_size_decode); + ret = image_util_get_image(decoded_image, &_width, &_height, NULL, (unsigned char**)&buffer, &_size_decode); if (IMAGE_UTIL_ERROR_NONE != ret) break; diff --git a/server/db/ctsvc_db_utils.c b/server/db/ctsvc_db_utils.c index 195ef42..0c32792 100644 --- a/server/db/ctsvc_db_utils.c +++ b/server/db/ctsvc_db_utils.c @@ -333,7 +333,7 @@ static bool _ctsvc_image_util_supported_jpeg_colorspace_cb( ret = image_util_decode_run2(dh, &decoded_image); if (IMAGE_UTIL_ERROR_NONE != ret) break; - image_util_get_image(decoded_image, &_width, &_height, NULL, &buffer, &_size_decode); + image_util_get_image(decoded_image, &_width, &_height, NULL, (unsigned char**)&buffer, &_size_decode); if (IMAGE_UTIL_ERROR_NONE != ret) break;