Commit 7071c45b authored by Cedric Roux's avatar Cedric Roux

- Fix incorrect pointer in multicast layer for 64 bits platforms

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4097 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 611901fd
......@@ -189,7 +189,7 @@ int emu_transport_handle_enb_info(bypass_msg_header_t *messg,
memcpy(&eNB_transport_info[n_enb], eNB_info, total_header + total_tbs);
/* Go to the next eNB info */
eNB_info = (eNB_transport_info_t *)((unsigned int)eNB_info + total_header+
eNB_info = (eNB_transport_info_t *)((uintptr_t)eNB_info + total_header+
total_tbs);
bytes_read += (total_header + total_tbs);
}
......@@ -252,7 +252,7 @@ int emu_transport_handle_ue_info(bypass_msg_header_t *messg,
memcpy(&UE_transport_info[n_ue], UE_info, total_header + total_tbs);
/* Go to the next UE info */
UE_info = (UE_transport_info_t *)((unsigned int)UE_info + total_header+
UE_info = (UE_transport_info_t *)((uintptr_t)UE_info + total_header+
total_tbs);
bytes_read += (total_header + total_tbs);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment