diff options
author | Sander Vrijders <[email protected]> | 2020-02-16 18:58:06 +0100 |
---|---|---|
committer | Dimitri Staessens <[email protected]> | 2020-02-16 19:04:41 +0100 |
commit | ce2b6900e5373041fee62328e5d1c8a30e692ea2 (patch) | |
tree | 4b3af622bf6c30466f7690d7427b01e139d69f3c /src/ipcpd/unicast/dt.c | |
parent | a59b71095a84dcbd7c3684639acf3dd3097bd3f2 (diff) | |
download | ouroboros-ce2b6900e5373041fee62328e5d1c8a30e692ea2.tar.gz ouroboros-ce2b6900e5373041fee62328e5d1c8a30e692ea2.zip |
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 <[email protected]>
Signed-off-by: Dimitri Staessens <[email protected]>
Diffstat (limited to 'src/ipcpd/unicast/dt.c')
-rw-r--r-- | src/ipcpd/unicast/dt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |