From 928fa1c1a90e32611cdceecc19672945757af154 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 5 Mar 2009 09:43:19 +0000 Subject: [PATCH] ebl tweak pointer to int convertion for win64 git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8499 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/dird/dird_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/dird/dird_conf.c b/bacula/src/dird/dird_conf.c index 5afe768a6d..3087c440d5 100644 --- a/bacula/src/dird/dird_conf.c +++ b/bacula/src/dird/dird_conf.c @@ -1978,7 +1978,7 @@ static void store_runscript(LEX *lc, RES_ITEM *item, int index, int pass) */ res_runscript.set_job_code_callback(job_code_callback_filesetname); while ((c=(char*)res_runscript.commands->pop()) != NULL) { - t = (long)res_runscript.commands->pop(); + t = (intptr_t)res_runscript.commands->pop(); RUNSCRIPT *script = new_runscript(); memcpy(script, &res_runscript, sizeof(RUNSCRIPT)); script->command = c; -- 2.39.5