Actions
Bug #111
closedintelmetool: compiler warning
Start date:
05/04/2017
Due date:
% Done:
100%
Estimated time:
1.00 h
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:
Description
I get a compiler warning when building intelmetool. I'm using GCC 6.3.0-14 from Debian stretch.
cc -O0 -g -Wall -W -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-function -c -o intelmetool.o intelmetool.c
intelmetool.c: In function ‘dump_me_memory’:
intelmetool.c:85:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
dump = map_physical_exact((off_t)me_clone, (void *)me_clone, 0x2000000);
^
Actions