From: Kern Sibbald Date: Wed, 20 Jul 2016 11:32:23 +0000 (+0200) Subject: Add explicit LL to big integers to appease older compilers X-Git-Tag: Release-7.4.4~31 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fc8441f6130c88e2e5a6d5f102100d30f3076b03;p=bacula%2Fbacula Add explicit LL to big integers to appease older compilers --- 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;