From 37dbd43e81cddb8b2904ed962bf6b48064c3d4ad Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 27 Jun 2014 14:33:22 +0200 Subject: [PATCH] Correct L suffix to be LL --- bacula/src/dird/ua_cmds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }; -- 2.39.5