Fixed macOS build issue and integer precision warning

This commit is contained in:
Wolfram Manthey 2018-07-02 08:01:53 +08:00
parent 16591e8ea8
commit 4de6f3a735

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;