projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b384dc
)
client: Fix build warning
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Tue, 5 Jul 2022 17:31:39 +0000
(10:31 -0700)
committer
Ayush Garg
<ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000
(14:55 +0530)
This fixes the following build warning:
warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead
[-Wdeprecated-declarations]
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
client/player.c
patch
|
blob
|
history
diff --git
a/client/player.c
b/client/player.c
index
52a6177
..
9969442
100644
(file)
--- 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)