shm: sp_client_recv returns negative on error, so make the retval signed

This commit is contained in:
Olivier Crête 2010-10-20 22:28:13 +02:00
parent 2aaf51af49
commit 225bc1dd0b
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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