Skip to content

Commit ef15205

Browse files
committed
MT#61856 media_player: make *.db_ids 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
1 parent 983b876 commit ef15205

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/media_player.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ typedef struct {
2727
unsigned int block_egress:1,
2828
moh:1;
2929
str file, blob;
30-
long long db_id;
30+
unsigned long long db_id;
3131
} media_player_opts_t;
3232

3333

@@ -41,7 +41,7 @@ struct media_player_media_file;
4141

4242
struct media_player_content_index {
4343
enum { MP_OTHER = 0, MP_FILE = 1, MP_DB, MP_BLOB } type;
44-
long long db_id;
44+
unsigned long long db_id;
4545
str file; // file name or binary blob
4646
};
4747

0 commit comments

Comments
 (0)