From fc8441f6130c88e2e5a6d5f102100d30f3076b03 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 20 Jul 2016 13:32:23 +0200 Subject: [PATCH] Add explicit LL to big integers to appease older compilers --- bacula/src/lib/edit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/lib/edit.c b/bacula/src/lib/edit.c index 19290113f0..d7f43b4dec 100644 --- a/bacula/src/lib/edit.c +++ b/bacula/src/lib/edit.c @@ -350,8 +350,8 @@ static bool strunit_to_uint64(char *str, int str_len, uint64_t *value, 1000000, /* mb megabyte */ 1073741824, /* gigabyte */ 1000000000, /* gb gigabyte */ - 1099511627776, /* terabyte */ - 1000000000000}; /* tb terabyte */ + 1099511627776LL, /* terabyte */ + 1000000000000LL}; /* tb terabyte */ if (!get_modifier(str, num_str, sizeof(num_str), mod_str, sizeof(mod_str))) { return 0; -- 2.39.5