From: Luiz Augusto von Dentz Date: Tue, 5 Jul 2022 17:31:39 +0000 (-0700) Subject: client: Fix build warning X-Git-Tag: accepted/tizen/unified/20230608.164325~166 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a42086b82015d72623d6ff7c2660cc31484804dc;p=platform%2Fupstream%2Fbluez.git client: Fix build warning This fixes the following build warning: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] Signed-off-by: Manika Shrivastava Signed-off-by: Ayush Garg --- diff --git a/client/player.c b/client/player.c index 52a6177..9969442 100644 --- a/client/player.c +++ b/client/player.c @@ -1339,7 +1339,7 @@ static uint8_t *str2bytearray(char *arg, size_t *val_len) *val_len = i; - return g_memdup2(value, i); + return util_memdup(value, i); } static void select_config_response(const char *input, void *user_data)