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/confparse.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/confparse.c')
-rw-r--r-- | src/or/confparse.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/or/confparse.c b/src/or/confparse.c index b38e06c6a2..c152fb171f 100644 --- a/src/or/confparse.c +++ b/src/or/confparse.c @@ -1040,15 +1040,15 @@ static struct unit_table_t memory_units[] = { { "gigabit", 1<<27 }, { "gbits", 1<<27 }, { "gbit", 1<<27 }, - { "tb", U64_LITERAL(1)<<40 }, - { "tbyte", U64_LITERAL(1)<<40 }, - { "tbytes", U64_LITERAL(1)<<40 }, - { "terabyte", U64_LITERAL(1)<<40 }, - { "terabytes", U64_LITERAL(1)<<40 }, - { "terabits", U64_LITERAL(1)<<37 }, - { "terabit", U64_LITERAL(1)<<37 }, - { "tbits", U64_LITERAL(1)<<37 }, - { "tbit", U64_LITERAL(1)<<37 }, + { "tb", UINT64_C(1)<<40 }, + { "tbyte", UINT64_C(1)<<40 }, + { "tbytes", UINT64_C(1)<<40 }, + { "terabyte", UINT64_C(1)<<40 }, + { "terabytes", UINT64_C(1)<<40 }, + { "terabits", UINT64_C(1)<<37 }, + { "terabit", UINT64_C(1)<<37 }, + { "tbits", UINT64_C(1)<<37 }, + { "tbit", UINT64_C(1)<<37 }, { NULL, 0 }, }; |