mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
fix some compiler warnings
This commit is contained in:
parent
65d17ab6fe
commit
da94f65493
6 changed files with 29 additions and 12 deletions
|
|
@ -94,7 +94,8 @@ impl_log_logv(struct spa_log *log,
|
|||
index & impl->trace_rb.mask, location, size);
|
||||
spa_ringbuffer_write_update(&impl->trace_rb, index + size);
|
||||
|
||||
write(impl->source.fd, &count, sizeof(uint64_t));
|
||||
if (write(impl->source.fd, &count, sizeof(uint64_t)) != sizeof(uint64_t))
|
||||
fprintf(stderr, "error signaling eventfd: %s\n", strerror(errno));
|
||||
} else
|
||||
fputs(location, stderr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue