diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-27 18:55:44 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-27 18:55:44 +0100 |
commit | ccc9d0065dfecdac39ae26c5e3f824102131a0c8 (patch) | |
tree | 276eb42bf4a38f2b72a5c46d1b88bc77c8c39f02 /src/libutil/addr.c | |
parent | 649f9aa4a32fc51c1b60b28fa8830a603c88fcad (diff) | |
download | rspamd-ccc9d0065dfecdac39ae26c5e3f824102131a0c8.tar.gz rspamd-ccc9d0065dfecdac39ae26c5e3f824102131a0c8.zip |
[Minor] Convert some enums to static macros
Diffstat (limited to 'src/libutil/addr.c')
-rw-r--r-- | src/libutil/addr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/addr.c b/src/libutil/addr.c index a6f1adaf8..5cbc1c044 100644 --- a/src/libutil/addr.c +++ b/src/libutil/addr.c @@ -1055,7 +1055,7 @@ rspamd_inet_address_listen (const rspamd_inet_addr_t *addr, gint type, } } - if (type != SOCK_DGRAM) { + if (type != (int)SOCK_DGRAM) { if (addr->af == AF_UNIX) { path = addr->u.un->addr.sun_path; |