meson.build: enable -Werror=format

This commit is contained in:
Barnabás Pőcze 2024-06-27 14:40:31 +02:00 committed by Wim Taymans
parent 17fcc9fc51
commit ec521ca870
3 changed files with 4 additions and 3 deletions

View file

@ -807,7 +807,7 @@ mmap_init(struct impl *impl, struct port *port,
port->memtype == SPA_DATA_MemFd) {
d[j].flags |= SPA_DATA_FLAG_MAPPABLE;
d[j].fd = bufs[i]->planes()[j].fd.get();
spa_log_debug(impl->log, "Got fd = %ld for buffer: #%d", d[j].fd, i);
spa_log_debug(impl->log, "Got fd = %" PRId64 " for buffer: #%d", d[j].fd, i);
d[j].data = NULL;
SPA_FLAG_SET(b->flags, BUFFER_FLAG_ALLOCATED);
}