Commit f0e4f74a authored by Laurent THOMAS's avatar Laurent THOMAS

review

parent 7e112c4c
...@@ -1234,7 +1234,7 @@ void *nrUEQtscopeThread(void *arg) ...@@ -1234,7 +1234,7 @@ void *nrUEQtscopeThread(void *arg)
// gNB scope initialization // gNB scope initialization
void nrgNBinitQtScope(scopeParms_t *p) void nrgNBinitQtScope(scopeParms_t *p)
{ {
scopeData_t *scope = (scopeData_t *)calloc(sizeof(scopeData_t), 1); scopeData_t *scope = (scopeData_t *)calloc(1, sizeof(scopeData_t));
scope->gNB = p->gNB; scope->gNB = p->gNB;
scope->argc = p->argc; scope->argc = p->argc;
...@@ -1252,7 +1252,7 @@ void nrgNBinitQtScope(scopeParms_t *p) ...@@ -1252,7 +1252,7 @@ void nrgNBinitQtScope(scopeParms_t *p)
// UE scope initialization // UE scope initialization
void nrUEinitQtScope(PHY_VARS_NR_UE *ue) void nrUEinitQtScope(PHY_VARS_NR_UE *ue)
{ {
scopeData_t *scope = (scopeData_t *)calloc(sizeof(scopeData_t), 1); scopeData_t *scope = (scopeData_t *)calloc(1, sizeof(scopeData_t));
scope->copyData = copyData; scope->copyData = copyData;
copyDataMutexInit(scope); copyDataMutexInit(scope);
......
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