diff options
author | Alice Frosi <afrosi@redhat.com> | 2023-02-21 14:15:29 +0100 |
---|---|---|
committer | Alice Frosi <afrosi@redhat.com> | 2023-02-21 14:15:29 +0100 |
commit | 6836f70961b72899c2d11229ad1428ab16574a60 (patch) | |
tree | 0acbc637d3eeb0a8965d5c589cee281b36d50b91 | |
parent | 1c7bb1c0589e729334f393757bf96543a05b219f (diff) | |
download | seitan-6836f70961b72899c2d11229ad1428ab16574a60.tar seitan-6836f70961b72899c2d11229ad1428ab16574a60.tar.gz seitan-6836f70961b72899c2d11229ad1428ab16574a60.tar.bz2 seitan-6836f70961b72899c2d11229ad1428ab16574a60.tar.lz seitan-6836f70961b72899c2d11229ad1428ab16574a60.tar.xz seitan-6836f70961b72899c2d11229ad1428ab16574a60.tar.zst seitan-6836f70961b72899c2d11229ad1428ab16574a60.zip |
actions: cast data for temporary result to uint16_t
-rw-r--r-- | actions.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -195,7 +195,7 @@ int do_actions(void *data, struct action actions[], unsigned int n_actions, int * reference */ if (actions[i].call.has_ret) { - memcpy(data + actions[i].call.ret_off, + memcpy((uint16_t *)data + actions[i].call.ret_off, &c.ret, sizeof(c.ret)); } break; |