From b6e52598ccc7fc917cebeb0226dba0071eb534c9 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 12 Jul 2014 11:14:21 +0200 Subject: [PATCH] Fix compiler warning --- bacula/src/dird/ua_run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.39.5