From: Kern Sibbald Date: Tue, 31 May 2016 16:00:45 +0000 (+0200) Subject: Tweak: fix compiler warning X-Git-Tag: Release-7.4.1~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=347d2871581025d97fe75bbd98e1eb0b34164bf3;p=bacula%2Fbacula Tweak: fix compiler warning --- diff --git a/bacula/src/dird/ua_run.c b/bacula/src/dird/ua_run.c index 03c3f2fd36..f54df8f490 100644 --- a/bacula/src/dird/ua_run.c +++ b/bacula/src/dird/ua_run.c @@ -1024,7 +1024,7 @@ static bool set_run_context_in_jcr(UAContext *ua, JCR *jcr, run_ctx &rc) } rc.replace = ReplaceOptions[0].name; for (i=0; ReplaceOptions[i].name; i++) { - if (ReplaceOptions[i].token == jcr->replace) { + if ((int)ReplaceOptions[i].token == jcr->replace) { rc.replace = ReplaceOptions[i].name; } }