From ce2b6900e5373041fee62328e5d1c8a30e692ea2 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Sun, 16 Feb 2020 18:58:06 +0100 Subject: ipcpd: Use int instead of enum pol_pff Otherwise the compile will complain that the comparison of an unsigned enum expression < 0 is always false. Signed-off-by: Sander Vrijders Signed-off-by: Dimitri Staessens --- src/ipcpd/unicast/dt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ipcpd/unicast') diff --git a/src/ipcpd/unicast/dt.c b/src/ipcpd/unicast/dt.c index ee14d28e..d6a3ddc9 100644 --- a/src/ipcpd/unicast/dt.c +++ b/src/ipcpd/unicast/dt.c @@ -628,7 +628,7 @@ int dt_init(enum pol_routing pr, int i; int j; char dtstr[256]; - enum pol_pff pp; + int pp; struct conn_info info; memset(&info, 0, sizeof(info)); -- cgit v1.2.3