Fix alignment problem in nr_dlsim

Fix error

    openair1/SIMULATION/NR_PHY/dlsim.c:1057:37: runtime error: member access within misaligned address 0x7f8a67e01010 for type 'struct NR_Sched_Rsp_t', which requires 32 byte alignment
This commit is contained in:
Robert Schmidt
2026-02-25 16:26:21 +01:00
committed by francescomani
parent 1b619bed03
commit bb72c4d057
+1 -1
View File
@@ -1012,7 +1012,7 @@ int main(int argc, char **argv)
}
//---------------
Sched_INFO = malloc(sizeof(*Sched_INFO));
Sched_INFO = memalign(32, sizeof(*Sched_INFO));
if (Sched_INFO == NULL) {
LOG_E(PHY, "out of memory\n");
exit(1);