Commit 07d3f84f authored by Lionel Gauthier's avatar Lionel Gauthier

patches13/0004-fix-invalid-use-of-memcpy.patch

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7050 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 4f6ced60
......@@ -295,8 +295,8 @@ void phy_scope_eNB(FD_lte_phy_scope_enb *form,
}
// PUSCH Throughput
memcpy((void*)tput_time_enb[UE_id],(void*)&tput_time_enb[UE_id][1],(TPUT_WINDOW_LENGTH-1)*sizeof(float));
memcpy((void*)tput_enb[UE_id],(void*)&tput_enb[UE_id][1],(TPUT_WINDOW_LENGTH-1)*sizeof(float));
memmove( tput_time_enb[UE_id], &tput_time_enb[UE_id][1], (TPUT_WINDOW_LENGTH-1)*sizeof(float) );
memmove( tput_enb[UE_id], &tput_enb[UE_id][1], (TPUT_WINDOW_LENGTH-1)*sizeof(float) );
tput_time_enb[UE_id][TPUT_WINDOW_LENGTH-1] = (float) frame;
tput_enb[UE_id][TPUT_WINDOW_LENGTH-1] = ((float) total_dlsch_bitrate)/1000.0;
......
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