summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2023-08-12 18:30:44 +0200
committerSander Vrijders <sander@ouroboros.rocks>2023-08-23 13:09:10 +0200
commit18d706ca25cba6b3d1c2a2c97562c40a1745b72d (patch)
tree18390da778a7080a21101fa2deb1cabc74ad92ff /src/lib/dev.c
parenta7bbe9841bb1633fab84428252b16bf4d938932f (diff)
downloadouroboros-18d706ca25cba6b3d1c2a2c97562c40a1745b72d.tar.gz
ouroboros-18d706ca25cba6b3d1c2a2c97562c40a1745b72d.zip
lib: Fix signed/unsigned mismatches on raspbian
Compilation on raspberry pi revealed some previously undetected signed/unsigned comparisons in the library. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
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 293d055e..69843c58 100644
--- a/src/lib/dev.c
+++ b/src/lib/dev.c
@@ -299,7 +299,7 @@ static void _flow_keepalive(struct flow * flow)
struct timespec s_act;
struct timespec r_act;
int flow_id;
- uint32_t timeo;
+ time_t timeo;
uint32_t acl;
s_act = flow->snd_act;