File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2695,11 +2695,11 @@ static void* benchmarks_do(void* args)
26952695
26962696 XFREE (bench_plain , HEAP_HINT , DYNAMIC_TYPE_WOLF_BIGINT );
26972697
2698- rawSz = bench_buf_size ;
2698+ rawSz = ( int ) bench_buf_size ;
26992699 if (bench_buf_size % 16 )
27002700 bench_buf_size += 16 - (bench_buf_size % 16 );
27012701
2702- bench_size = bench_buf_size ;
2702+ bench_size = ( word32 ) bench_buf_size ;
27032703
27042704 bench_plain = (byte * )XMALLOC ((size_t )bench_buf_size + 16 * 2 ,
27052705 HEAP_HINT , DYNAMIC_TYPE_WOLF_BIGINT );
@@ -2737,12 +2737,12 @@ static void* benchmarks_do(void* args)
27372737
27382738 XFREE (bench_cipher , HEAP_HINT , DYNAMIC_TYPE_WOLF_BIGINT );
27392739
2740- rawSz = bench_buf_size ;
2740+ rawSz = ( int ) bench_buf_size ;
27412741 if (bench_buf_size % 16 )
27422742 bench_buf_size += 16 - (bench_buf_size % 16 );
27432743
27442744 if (bench_size > bench_buf_size )
2745- bench_size = bench_buf_size ;
2745+ bench_size = ( word32 ) bench_buf_size ;
27462746
27472747 bench_cipher = (byte * )XMALLOC ((size_t )bench_buf_size + 16 * 2 ,
27482748 HEAP_HINT , DYNAMIC_TYPE_WOLF_BIGINT );
You can’t perform that action at this time.
0 commit comments