numactl: fix a error about lib32-numactl

lib32-numactl has a error:
root@intel-x86-64:~# numademo -t -e 1M
Configured Nodes does not match available memory nodes

That's because (long long int) is assigned to (long int).
This will cause (long int) overflow on 32bit system.

Unify variable types and fix it.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Hongzhi.Song
2019-09-22 20:30:20 -07:00
committed by Khem Raj
parent 2dde8de633
commit 665235b74a
2 changed files with 101 additions and 0 deletions
@@ -18,6 +18,7 @@ SRC_URI = "git://github.com/numactl/numactl \
file://Makefile \
file://run-ptest \
file://0001-define-run-test-target.patch \
file://0001-numademo-fix-error-on-32bit-system.patch \
"
S = "${WORKDIR}/git"