]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak: fix compiler warning
authorKern Sibbald <kern@sibbald.com>
Tue, 31 May 2016 16:00:45 +0000 (18:00 +0200)
committerKern Sibbald <kern@sibbald.com>
Tue, 31 May 2016 16:00:45 +0000 (18:00 +0200)
bacula/src/dird/ua_run.c

index 03c3f2fd36bdccd6afbdc2feb0080e94eb3ea200..f54df8f490f4818f369f64665ce1fe4ce77c9ab8 100644 (file)
@@ -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;
       }
    }