diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-01-23 18:38:22 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-01-23 18:38:22 (GMT) |
commit | 66c99d59d6a6d533de0bb65488de8243213bcdea (patch) | |
tree | 02d86b67c16cb1036c7e8540933eb1a5b4c9d030 /src/common/leb128.c | |
parent | adb98feb93f09d8de343c504a0c8c72815d62dab (diff) |
Used phys_t types instead of off_t types to remove compilation warnings.
Diffstat (limited to 'src/common/leb128.c')
-rw-r--r-- | src/common/leb128.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/leb128.c b/src/common/leb128.c index dc041b5..5fed92a 100644 --- a/src/common/leb128.c +++ b/src/common/leb128.c @@ -40,10 +40,10 @@ * * ******************************************************************************/ -bool read_uleb128(uleb128_t *target, const bin_t *data, off_t *pos, off_t len) +bool read_uleb128(uleb128_t *target, const bin_t *data, phys_t *pos, phys_t len) { int shift; /* Décallage à appliquer */ - off_t i; /* Boucle de parcours */ + phys_t i; /* Boucle de parcours */ if (*pos < 0) return false; @@ -84,10 +84,10 @@ bool read_uleb128(uleb128_t *target, const bin_t *data, off_t *pos, off_t len) * * ******************************************************************************/ -bool read_leb128(leb128_t *target, const bin_t *data, off_t *pos, off_t len) +bool read_leb128(leb128_t *target, const bin_t *data, phys_t *pos, phys_t len) { int shift; /* Décallage à appliquer */ - off_t i; /* Boucle de parcours */ + phys_t i; /* Boucle de parcours */ if (*pos < 0) return false; |