summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-05-16 23:31:51 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-05-16 23:31:51 +0200
commit8130973653ec66fc8cc7a35f8fe4d3d19750ad50 (patch)
treec552c75886dd88eb9ebdc3e31ea92df17df1f7fd /src/lib/dev.c
parentcd14d5db7abdb12b5e46a6c055daf5304bb43b74 (diff)
parentca914eb17bfdb2e56a39951a96a9fb54e1a5f607 (diff)
downloadouroboros-8130973653ec66fc8cc7a35f8fe4d3d19750ad50.tar.gz
ouroboros-8130973653ec66fc8cc7a35f8fe4d3d19750ad50.zip
Merged in sandervrijders/ouroboros/be (pull request #96)
lib: Add missing modulo calculation
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r--src/lib/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c
index 9b29b992..c365a17b 100644
--- a/src/lib/dev.c
+++ b/src/lib/dev.c
@@ -531,7 +531,7 @@ int flow_cntl(int fd, int cmd, int oflags)
ssize_t flow_write(int fd, void * buf, size_t count)
{
- size_t index;
+ ssize_t index;
struct rb_entry e;
if (buf == NULL)