diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-05-08 17:06:42 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-05-08 17:06:42 +0200 |
commit | 4e80e06772a0896dcb0f9f6fa2e455e7542eac24 (patch) | |
tree | 924156d142bce5521757e9349fa0b3fd2ff1b0cc /src/lib/dev.c | |
parent | 5812dfb832e513dc455a0d48624bcad62334d457 (diff) | |
parent | 4e13c71204e9667cfc4b7da6491972f854d9402d (diff) | |
download | ouroboros-4e80e06772a0896dcb0f9f6fa2e455e7542eac24.tar.gz ouroboros-4e80e06772a0896dcb0f9f6fa2e455e7542eac24.zip |
Merged in dstaesse/ouroboros/be-fast-path (pull request #66)
lib: changed port_id to int
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r-- | src/lib/dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c index c99e8cdb..d574363b 100644 --- a/src/lib/dev.c +++ b/src/lib/dev.c @@ -46,7 +46,7 @@ struct flow { struct shm_ap_rbuff * rb; - uint32_t port_id; + int port_id; uint32_t oflags; /* don't think this needs locking */ @@ -131,7 +131,7 @@ void ap_fini() } #if 0 -static int port_id_to_fd(uint32_t port_id) +static int port_id_to_fd(int port_id) { int i; for (i = 0; i < AP_MAX_FLOWS; ++i) |