X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=blobdiff_plain;f=src%2Fdata%2Fcase-map.c;h=49297d1349f5c50661e904408f6135684786e710;hp=411b9f0d49904cc118f3052c35c096c70c0e8376;hb=16ed48d38c50eff5d7c3f37e4ffbf58aee573891;hpb=4d880bd78462726d84bae8a1c6d593d06af2d61f diff --git a/src/data/case-map.c b/src/data/case-map.c index 411b9f0d..49297d13 100644 --- a/src/data/case-map.c +++ b/src/data/case-map.c @@ -100,7 +100,7 @@ case_map_execute (const struct case_map *map, struct ccase *src) { int src_idx = map->map[dst_idx]; if (src_idx != -1) - *case_data_rw_idx (dst, dst_idx) = *case_data_idx (src, src_idx); + value_copy (case_data_rw_idx (dst, dst_idx), case_data_idx (src, src_idx), caseproto_get_width (map->proto, dst_idx)); } case_unref (src); return dst;