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

@ -100,7 +100,7 @@ static inline int spa_debug_buffer(int indent, const struct spa_buffer *buffer)
spa_debug_type_find_name(spa_type_data_type, d->type));
spa_debug("%*s" " flags: %d", indent, "", d->flags);
spa_debug("%*s" " data: %p", indent, "", d->data);
spa_debug("%*s" " fd: %d", indent, "", d->fd);
spa_debug("%*s" " fd: %" PRIi64, indent, "", d->fd);
spa_debug("%*s" " offset: %d", indent, "", d->mapoffset);
spa_debug("%*s" " maxsize: %u", indent, "", d->maxsize);
spa_debug("%*s" " chunk: %p", indent, "", d->chunk);