diff options
author | midipix <writeonce@midipix.org> | 2015-05-26 22:45:48 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:19 -0500 |
commit | 664d5b53723342fcad8ba4ded4ae77f57df621ae (patch) | |
tree | 23c5aabae7c28a7b432d8dfa0defb2176d9dae13 /src/main/pe_map_raw_image.c | |
parent | 2b71e842c7f9a7a2130e9516ab0f900d41f1fc48 (diff) | |
download | perk-664d5b53723342fcad8ba4ded4ae77f57df621ae.tar.bz2 perk-664d5b53723342fcad8ba4ded4ae77f57df621ae.tar.xz |
struct pe_raw_image: change the type of addr to void *.
Diffstat (limited to 'src/main/pe_map_raw_image.c')
-rw-r--r-- | src/main/pe_map_raw_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/pe_map_raw_image.c b/src/main/pe_map_raw_image.c index bf21a9b..caf14b9 100644 --- a/src/main/pe_map_raw_image.c +++ b/src/main/pe_map_raw_image.c @@ -21,7 +21,7 @@ int pe_map_raw_image (int fd, const char * fname, int prot, struct pe_raw_image return errno; map->size = stat.st_size; - map->addr = (char *)mmap(0,map->size,prot,MAP_PRIVATE,fd,0); + map->addr = mmap(0,map->size,prot,MAP_PRIVATE,fd,0); if (map->addr == MAP_FAILED) { map->addr = 0; |