- atom->ret_ptr = ret_ptr;
- atom->next = NULL;
- atom->arg_ptr[0] = arg0;
- atom->arg_ptr[1] = arg1;
- atom->arg_ptr[2] = arg2;
- atom->arg_ptr[3] = arg3;
- atom->arg_ptr[4] = atom->arg_ptr[5] = NULL;
- atom->private = priv;
+ atom->ret_ptr = (uint64_t) (unsigned long) ret_ptr;
+ atom->next = 0;
+ atom->arg_ptr[0] = (uint64_t) (unsigned long) arg0;
+ atom->arg_ptr[1] = (uint64_t) (unsigned long) arg1;
+ atom->arg_ptr[2] = (uint64_t) (unsigned long) arg2;
+ atom->arg_ptr[3] = (uint64_t) (unsigned long) arg3;
+ atom->arg_ptr[4] = 0;
+ atom->arg_ptr[5] = 0;
+ atom->private = (uint64_t) (unsigned long) priv;