coreboot-kgpe-d16/util/intelmetool
Paul Menzel 1e7911e8aa util/intelmetool: Fix warning building with 32-bit
On a 32-bit system, pointers are 32-bit wide, and not 64-bit, resulting
in the warning below.

```
mmap.c: In function ‘map_physical_exact’:
mmap.c:26:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   virt_addr = mmap((void*)mapto, len, PROT_WRITE | PROT_READ,
                    ^
```

Fix this by using compatible types.

Change-Id: I4ede26127efcbd5668b978e6880a0535607e373d
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://review.coreboot.org/17970
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Martin Roth <martinroth@google.com>
2016-12-28 17:25:56 +01:00
..
Makefile
intelmetool.c util/intelmetool: Fix warning building with 32-bit 2016-12-28 17:25:56 +01:00
intelmetool.h intelmetool: Add the X99 ISA Bridge device id 2016-06-04 23:41:22 +02:00
me.c
me.h
me_status.c
mmap.c util/intelmetool: Fix warning building with 32-bit 2016-12-28 17:25:56 +01:00
mmap.h util/intelmetool: Fix warning building with 32-bit 2016-12-28 17:25:56 +01:00