]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/dird_conf.c
ebl tweak pointer to int convertion for win64
[bacula/bacula] / 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;