From ef152058ea37db625a4650f229e496e832e9573b Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Thu, 11 Jun 2026 18:10:19 +0200 Subject: [PATCH] MT#61856 media_player: make `*.db_id`s unsigned Make both `media_player_opts_t.db_id` and `media_player_content_index.db_id` unsigned because: - they aren't used with any guards/init values - most DB-media API functionality actually uses `unsigned long long` So this makes the ids consistent with the usage of them in the actual code. Change-Id: I6c756c537b3c992099a6857683078c169d5e030d --- include/media_player.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/media_player.h b/include/media_player.h index 4a9825bed..634fa26fe 100644 --- a/include/media_player.h +++ b/include/media_player.h @@ -27,7 +27,7 @@ typedef struct { unsigned int block_egress:1, moh:1; str file, blob; - long long db_id; + unsigned long long db_id; } media_player_opts_t; @@ -41,7 +41,7 @@ struct media_player_media_file; struct media_player_content_index { enum { MP_OTHER = 0, MP_FILE = 1, MP_DB, MP_BLOB } type; - long long db_id; + unsigned long long db_id; str file; // file name or binary blob };