1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-10 06:01:52 +00:00

Fix read64le

This commit is contained in:
Michael Scire 2018-02-25 01:26:40 -08:00
parent 82b4c6763d
commit 78c8fe36fe

View file

@ -22,7 +22,7 @@ static inline uint32_t read32be(const unsigned char *dword, size_t offset) {
}
static inline uint64_t read64le(const void *qword, size_t offset) {
return *(uint32_t *)((uintptr_t)dword + offset);
return *(uint64_t *)((uintptr_t)dword + offset);
}
static __attribute__((noinline)) bool check_32bit_additive_overflow(uint32_t a, uint32_t b) {