From: Kern Sibbald Date: Sat, 12 Jul 2014 09:14:21 +0000 (+0200) Subject: Fix compiler warning X-Git-Tag: Release-7.0.5~44 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b6e52598ccc7fc917cebeb0226dba0071eb534c9;p=bacula%2Fbacula Fix compiler warning --- diff --git a/bacula/src/dird/ua_run.c b/bacula/src/dird/ua_run.c index 3ea04a8d97..b796371a5c 100644 --- a/bacula/src/dird/ua_run.c +++ b/bacula/src/dird/ua_run.c @@ -960,7 +960,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 == (int)jcr->replace) { + if ((int)ReplaceOptions[i].token == (int)jcr->replace) { rc.replace = ReplaceOptions[i].name; } }