File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1100,9 +1100,9 @@ int main(int argc, const char** argv)
1100
1100
time_t const programTBegin = time (NULL );
1101
1101
POOL_ctx * const pt = POOL_create ((size_t )nbThreads , 1 );
1102
1102
if (!pt ) EXIT ("not enough memory for threads" );
1103
- searchCollisions_results * const MTresults = calloc (sizeof ( searchCollisions_results ), ( size_t ) nbThreads );
1103
+ searchCollisions_results * const MTresults = calloc (( size_t ) nbThreads , sizeof ( searchCollisions_results ) );
1104
1104
if (!MTresults ) EXIT ("not enough memory" );
1105
- searchCollisions_parameters * const MTparams = calloc (sizeof ( searchCollisions_parameters ), ( size_t ) nbThreads );
1105
+ searchCollisions_parameters * const MTparams = calloc (( size_t ) nbThreads , sizeof ( searchCollisions_parameters ) );
1106
1106
if (!MTparams ) EXIT ("not enough memory" );
1107
1107
1108
1108
/* distribute jobs */
You can’t perform that action at this time.
0 commit comments