summaryrefslogtreecommitdiff
path: root/src/ipcpd/local/main.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-09-01 17:25:53 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-09-01 17:27:21 +0200
commit9f4b673a03b66a53e3b044b26d0669d2e800cf50 (patch)
treea97accc000af65951fd275ce409bd72fbc9ce5a9 /src/ipcpd/local/main.c
parentfe197a226c0a7755f19a2956294ba435701a42ea (diff)
downloadouroboros-9f4b673a03b66a53e3b044b26d0669d2e800cf50.tar.gz
ouroboros-9f4b673a03b66a53e3b044b26d0669d2e800cf50.zip
lib: Change rdrbuff API to use correct types
The head and tail alloc and release operations were taking an int to identify the idx instead of a ssize_t. The size was a ssize_t instead of a size_t.
Diffstat (limited to 'src/ipcpd/local/main.c')
-rw-r--r--src/ipcpd/local/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/local/main.c b/src/ipcpd/local/main.c
index 4fa7e33f..f1b6dd9e 100644
--- a/src/ipcpd/local/main.c
+++ b/src/ipcpd/local/main.c
@@ -393,7 +393,7 @@ static int ipcp_local_flow_alloc_resp(pid_t n_api,
int response)
{
struct shm_ap_rbuff * rb;
- int in_fd = -1;\
+ int in_fd = -1;
int out_fd = -1;
int ret = -1;