From 4e13c71204e9667cfc4b7da6491972f854d9402d Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Sun, 8 May 2016 16:54:12 +0200 Subject: 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. --- src/ipcpd/flow.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ipcpd/flow.h') diff --git a/src/ipcpd/flow.h b/src/ipcpd/flow.h index 0a3e90d1..43de5f94 100644 --- a/src/ipcpd/flow.h +++ b/src/ipcpd/flow.h @@ -48,14 +48,14 @@ enum flow_state { typedef struct flow { struct list_head list; - uint32_t port_id; + int port_id; struct shm_ap_rbuff * rb; enum flow_state state; pthread_mutex_t lock; } flow_t; -flow_t * flow_create(uint32_t port_id); +flow_t * flow_create(int port_id); void flow_destroy(flow_t * flow); #endif /* OUROBOROS_FLOW_H */ -- cgit v1.2.3