summaryrefslogtreecommitdiff
path: root/src/ipcpd/flow.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-05-08 16:54:12 +0200
committerdimitri staessens <[email protected]>2016-05-08 16:54:12 +0200
commit4e13c71204e9667cfc4b7da6491972f854d9402d (patch)
tree924156d142bce5521757e9349fa0b3fd2ff1b0cc /src/ipcpd/flow.c
parent021af9e01ce6c6376534b33ef1a06ea4189028d4 (diff)
downloadouroboros-4e13c71204e9667cfc4b7da6491972f854d9402d.tar.gz
ouroboros-4e13c71204e9667cfc4b7da6491972f854d9402d.zip
lib: changed port_id to int
returning -1 as uint32_t leads to bugs. also changed types in GPB to sint to use zigzag encoding.
Diffstat (limited to 'src/ipcpd/flow.c')
-rw-r--r--src/ipcpd/flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/flow.c b/src/ipcpd/flow.c
index ae8f848c..10280f3d 100644
--- a/src/ipcpd/flow.c
+++ b/src/ipcpd/flow.c
@@ -27,7 +27,7 @@
#include <ouroboros/logs.h>
-flow_t * flow_create(uint32_t port_id)
+flow_t * flow_create(int port_id)
{
flow_t * flow = malloc(sizeof *flow);
if (flow == NULL) {