diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-07-05 10:31:39 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-07-05 10:31:39 -0700 |
commit | 6270ad35b2f7b71dbc0a76b825f2f3ca07f936d2 (patch) | |
tree | 8f9c8b42720ed3ac26c6058b16de9ab51d2bc042 /client/player.c | |
parent | 575778a45f84a665e66074ef1e86926e5380f42e (diff) | |
download | bluez-6270ad35b2f7b71dbc0a76b825f2f3ca07f936d2.tar.gz |
client: Fix build warning
This fixes the following build warning:
warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead
[-Wdeprecated-declarations]
Diffstat (limited to 'client/player.c')
-rw-r--r-- | client/player.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/player.c b/client/player.c index 3e9a457ec..0c59db648 100644 --- a/client/player.c +++ b/client/player.c @@ -1340,7 +1340,7 @@ static uint8_t *str2bytearray(char *arg, size_t *val_len) *val_len = i; - return g_memdup(value, i); + return util_memdup(value, i); } static void select_config_response(const char *input, void *user_data) |