diff options
| -rw-r--r-- | auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -422,7 +422,7 @@ int auth_quota(const struct auth *const a, const char *const user, *available = true; *quota = strtoull(qs, &end, 10); - const unsigned long long mul = 1024 * 1024; + const unsigned long long mul = 1024ul * 1024ul; if (errno || *end != '\0') { @@ -436,7 +436,7 @@ int auth_quota(const struct auth *const a, const char *const user, goto end; } - *quota *= 1024 * 1024; + *quota *= mul; break; } } |
