Merge pull request #2 from wmanth/master

Fixed macOS build issue and integer precision warning
This commit is contained in:
Bertold Van den Bergh 2018-07-04 22:49:22 +02:00 committed by GitHub
commit 58ba4689cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,7 @@
*/
#include <sys/mman.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
@ -36,7 +37,7 @@
struct ZoneDetectOpaque {
int fd;
uint32_t length;
off_t length;
uint8_t* mapping;
uint8_t tableType;