From: Kern Sibbald Date: Fri, 27 Jun 2014 12:33:22 +0000 (+0200) Subject: Correct L suffix to be LL X-Git-Tag: Release-7.0.5~36 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=37dbd43e81cddb8b2904ed962bf6b48064c3d4ad;p=bacula%2Fbacula Correct L suffix to be LL --- diff --git a/bacula/src/dird/ua_cmds.c b/bacula/src/dird/ua_cmds.c index 9e62afc8c2..b01b8cc19e 100644 --- a/bacula/src/dird/ua_cmds.c +++ b/bacula/src/dird/ua_cmds.c @@ -706,13 +706,13 @@ static int setbwlimit_cmd(UAContext *ua, const char *cmd) i = find_arg_with_value(ua, "limit"); if (i >= 0) { - limit = atoi(ua->argv[i]) * 1024L; + limit = atoi(ua->argv[i]) * 1024LL; } if (limit < 0) { if (!get_pint(ua, _("Enter new bandwidth limit kb/s: "))) { return 1; } - limit = ua->pint32_val * 1024L; /* kb/s */ + limit = ua->pint32_val * 1024LL; /* kb/s */ } const char *lst[] = { "job", "jobid", "jobname", NULL };