diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-19 18:37:10 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-19 21:56:54 +0100 |
commit | 0645ce61a01ad174673b5ef5dcaee815c27f18ca (patch) | |
tree | 8c637817c3b2c82d31742565fd6bd9cd5f0cb987 | |
parent | a7f6e7e8474a29a8fb50d9bd8835e2d42b1c1a3c (diff) |
sd-resolve: use UINT64_C() macros where appropriate
-rw-r--r-- | src/systemd/sd-resolve.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/systemd/sd-resolve.h b/src/systemd/sd-resolve.h index 241b51084d..eb4548a2dc 100644 --- a/src/systemd/sd-resolve.h +++ b/src/systemd/sd-resolve.h @@ -44,9 +44,9 @@ typedef int (*sd_resolve_getaddrinfo_handler_t)(sd_resolve_query *q, int ret, co typedef int (*sd_resolve_getnameinfo_handler_t)(sd_resolve_query *q, int ret, const char *host, const char *serv, void *userdata); enum { - SD_RESOLVE_GET_HOST = 1ULL, - SD_RESOLVE_GET_SERVICE = 2ULL, - SD_RESOLVE_GET_BOTH = 3ULL + SD_RESOLVE_GET_HOST = UINT64_C(1), + SD_RESOLVE_GET_SERVICE = UINT64_C(2), + SD_RESOLVE_GET_BOTH = UINT64_C(3), }; int sd_resolve_default(sd_resolve **ret); |