- 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
This commit is contained in:
Cedric Roux
2013-08-23 13:43:03 +00:00
parent 611901fdbd
commit 7071c45be8
@@ -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);
}