summaryrefslogtreecommitdiff
path: root/src/common/leb128.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-01-23 18:38:22 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-01-23 18:38:22 (GMT)
commit66c99d59d6a6d533de0bb65488de8243213bcdea (patch)
tree02d86b67c16cb1036c7e8540933eb1a5b4c9d030 /src/common/leb128.h
parentadb98feb93f09d8de343c504a0c8c72815d62dab (diff)
Used phys_t types instead of off_t types to remove compilation warnings.
Diffstat (limited to 'src/common/leb128.h')
-rw-r--r--src/common/leb128.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/leb128.h b/src/common/leb128.h
index b777d94..c7c4aa2 100644
--- a/src/common/leb128.h
+++ b/src/common/leb128.h
@@ -30,6 +30,7 @@
#include "../arch/archbase.h"
+#include "../arch/vmpa.h"
@@ -50,10 +51,10 @@ typedef int64_t leb128_t;
/* Lit un nombre non signé encodé au format LEB128. */
-bool read_uleb128(uleb128_t *, const bin_t *, off_t *, off_t);
+bool read_uleb128(uleb128_t *, const bin_t *, phys_t *, phys_t);
/* Lit un nombre signé encodé au format LEB128. */
-bool read_leb128(leb128_t *, const bin_t *, off_t *, off_t);
+bool read_leb128(leb128_t *, const bin_t *, phys_t *, phys_t);