]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl tweak pointer to int convertion for win64
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 5 Mar 2009 09:43:19 +0000 (09:43 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 5 Mar 2009 09:43:19 +0000 (09:43 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8499 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/dird_conf.c

index 5afe768a6d2ca188867bf727ad1a3a8ccbd5dd75..3087c440d5fc78220fb320d2c7b717bd5cd2279c 100644 (file)
@@ -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;