From 347d2871581025d97fe75bbd98e1eb0b34164bf3 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 31 May 2016 18:00:45 +0200 Subject: [PATCH] Tweak: 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 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; } } -- 2.39.5