Skip to content

Changing type of variable 'offset'

Thomas Gruber requested to merge github/fork/dkuts/patch-1 into master

Created by: dkuts

Changing type from 'int' to 'size_t' to avoid overflowing. At some cases, offset may be bigger than 2 147 483 647, that cause negative number and access to wrong memory address. example: likwid-bench -t copy_avx -w S0:48GB:48 −i 2048

Merge request reports