Fixed the build error for gcc-14 48/312248/1 accepted/tizen_9.0_unified accepted/tizen_unified_dev accepted/tizen_unified_toolchain tizen_9.0 accepted/tizen/9.0/unified/20241030.234758 accepted/tizen/unified/20240606.161607 accepted/tizen/unified/20240611.122900 accepted/tizen/unified/dev/20240620.005555 accepted/tizen/unified/toolchain/20240610.172436 accepted/tizen/unified/x/20240610.223039 accepted/tizen/unified/x/asan/20240625.091945 tizen_9.0_m2_release
authorwchang kim <wchang.kim@samsung.com>
Wed, 5 Jun 2024 08:51:30 +0000 (17:51 +0900)
committerwchang kim <wchang.kim@samsung.com>
Wed, 5 Jun 2024 08:51:30 +0000 (17:51 +0900)
Change-Id: I2aa9f7895b468d76af760609af58932bed9030a3

common/ctsvc_vcard.c
server/db/ctsvc_db_utils.c

index 67faab31f3209407e9bbc9834899c78b18dd2999..65cd43d747d7ff7d76d935e4936981cfba9ce3d6 100644 (file)
@@ -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;
 
index 195ef4240953a3192d6bd622e5de5b3fee64182b..0c327925f4f256360cdcebcb4bfc4cb8306b4969 100644 (file)
@@ -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;