diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-01-04 01:32:44 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-01-04 01:33:13 (GMT) |
commit | 239694d99ad81f1e435125e76a2a930213d06b21 (patch) | |
tree | c02344549f10d618159198bd90f1e010d9def258 /src/arch/vmpa.h | |
parent | 7b3364f3af43961df7c5c7bcd0fe7407e944f16f (diff) |
Treated phys_t as uint64_t to avoid huge differences get considered as negative numbers.
Diffstat (limited to 'src/arch/vmpa.h')
-rw-r--r-- | src/arch/vmpa.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/vmpa.h b/src/arch/vmpa.h index eb63324..cfb9ab5 100644 --- a/src/arch/vmpa.h +++ b/src/arch/vmpa.h @@ -29,7 +29,6 @@ #include <malloc.h> #include <stdbool.h> #include <stdint.h> -#include <sys/types.h> #include "archbase.h" @@ -49,7 +48,7 @@ /* Types pour respectivement une position physique et une adresse virtuelle */ -#define phys_t off_t +#define phys_t uint64_t #define virt_t uint64_t /* Equivalents pour GLib */ |