From: Eric Bollengier Date: Thu, 5 Mar 2009 09:43:19 +0000 (+0000) Subject: ebl tweak pointer to int convertion for win64 X-Git-Tag: Release-3.0.0~193 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=928fa1c1a90e32611cdceecc19672945757af154;p=bacula%2Fbacula 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 --- 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;