intelmetool: compiler warning
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);
Updated by Paul Menzel over 6 years ago
- Status changed from New to Response Needed
- Assignee set to Paul Menzel
- % Done changed from 0 to 90
- Estimated time set to 1.00 h
Thank you for reporting this issue. Please note, that this only manifests itself with 64-bit userspace.
Change Id8d778e97090668ad9308a82b44c6b2b599fd6c3 should fix the problem.