spa: make fd in spa_data an int64_t

So that we can store other things in it later as well.
This commit is contained in:
Wim Taymans 2019-02-07 12:22:51 +01:00
parent 569cbb48a9
commit 8a9c1129a2
3 changed files with 4 additions and 4 deletions

View file

@ -64,7 +64,7 @@ struct spa_data {
#define SPA_DATA_FLAG_NONE 0
#define SPA_DATA_FLAG_CORRUPTED (1<<0) /**< data is corrupted in some way */
uint32_t flags; /**< data flags */
int fd; /**< optional fd for data */
int64_t fd; /**< optional fd for data */
uint32_t mapoffset; /**< offset to map fd at */
uint32_t maxsize; /**< max size of data */
void *data; /**< optional data pointer */