diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-03 10:33:50 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-03 10:33:50 -0400 |
commit | 52884f56d43670f1960d9354ccc3ace9a048e283 (patch) | |
tree | 298e3f789a003cc9f08e4f8e24bf93964711b60c /src/or/config.c | |
parent | cf0b07c2e5284325fb89f2c8ee3ad99f5ed02195 (diff) | |
download | tor-52884f56d43670f1960d9354ccc3ace9a048e283.tar.gz tor-52884f56d43670f1960d9354ccc3ace9a048e283.zip |
Replace U64_LITERAL with the standard UINT64_C
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c index e3a4faa311..c958706f4c 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -4581,8 +4581,8 @@ compute_real_max_mem_in_queues(const uint64_t val, int log_guess) uint64_t result; if (val == 0) { -#define ONE_GIGABYTE (U64_LITERAL(1) << 30) -#define ONE_MEGABYTE (U64_LITERAL(1) << 20) +#define ONE_GIGABYTE (UINT64_C(1) << 30) +#define ONE_MEGABYTE (UINT64_C(1) << 20) /* The user didn't pick a memory limit. Choose a very large one * that is still smaller than the system memory */ static int notice_sent = 0; |