projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7f6e7e
)
sd-resolve: use UINT64_C() macros where appropriate
author
Lennart Poettering
<lennart@poettering.net>
Tue, 19 Jan 2016 17:37:10 +0000
(18:37 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 19 Jan 2016 20:56:54 +0000
(21:56 +0100)
src/systemd/sd-resolve.h
patch
|
blob
|
history
diff --git
a/src/systemd/sd-resolve.h
b/src/systemd/sd-resolve.h
index
241b510
..
eb4548a
100644
(file)
--- 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);