mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
shm: sp_client_recv returns negative on error, so make the retval signed
This commit is contained in:
parent
2aaf51af49
commit
225bc1dd0b
2 changed files with 2 additions and 2 deletions
|
@ -578,7 +578,7 @@ recv_command (int fd, struct CommandBuffer *cb)
|
|||
}
|
||||
}
|
||||
|
||||
unsigned long
|
||||
long int
|
||||
sp_client_recv (ShmPipe * self, char **buf)
|
||||
{
|
||||
char *area_name = NULL;
|
||||
|
|
|
@ -94,7 +94,7 @@ int sp_writer_recv (ShmPipe * self, ShmClient * client);
|
|||
int sp_writer_pending_writes (ShmPipe * self);
|
||||
|
||||
ShmPipe *sp_client_open (const char *path);
|
||||
unsigned long sp_client_recv (ShmPipe * self, char **buf);
|
||||
long int sp_client_recv (ShmPipe * self, char **buf);
|
||||
int sp_client_recv_finish (ShmPipe * self, char *buf);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in a new issue