From aa4822bedb71ee07e6014710d8e269c0515b0811 Mon Sep 17 00:00:00 2001 From: daniel229 Date: Sun, 15 Feb 2015 19:05:34 +0800 Subject: [PATCH] Chang pointers type. --- Core/HLE/sceSfmt19937.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/HLE/sceSfmt19937.cpp b/Core/HLE/sceSfmt19937.cpp index 0e95cc402d..aedb2ed093 100644 --- a/Core/HLE/sceSfmt19937.cpp +++ b/Core/HLE/sceSfmt19937.cpp @@ -43,7 +43,7 @@ static int sceSfmt19937InitByArray(u32 sfmt, u32 seeds, int seedslen) { INFO_LOG(HLE, "sceSfmt19937InitByArray(sfmt=%08x, seeds=%08x, seedslen=%08x)", sfmt, seeds, seedslen); sfmt_t *psfmt = (sfmt_t *)Memory::GetPointerUnchecked(sfmt); - u32 *pseeds = (u32 *)Memory::GetPointerUnchecked(seeds); + uint32_t *pseeds = (uint32_t *)Memory::GetPointerUnchecked(seeds); sfmt_init_by_array(psfmt, pseeds, seedslen); return 0; @@ -83,7 +83,7 @@ static int sceSfmt19937FillArray32(u32 sfmt, u32 array, int arraylen) { INFO_LOG(HLE, "sceSfmt19937FillArray32(sfmt=%08x, ar=%08x, arlen=%08x)", sfmt, array, arraylen); sfmt_t *psfmt = (sfmt_t *)Memory::GetPointerUnchecked(sfmt); - u32 *parray = (u32 *)Memory::GetPointerUnchecked(array); + uint32_t *parray = (uint32_t *)Memory::GetPointerUnchecked(array); sfmt_fill_array32(psfmt, parray, arraylen); return 0; @@ -97,7 +97,7 @@ static int sceSfmt19937FillArray64(u32 sfmt, u64 array, int arraylen) { INFO_LOG(HLE, "sceSfmt19937FillArray64(sfmt=%08x, ar=%08x, arlen=%08x)", sfmt, array, arraylen); sfmt_t *psfmt = (sfmt_t *)Memory::GetPointerUnchecked(sfmt); - u64 *parray = (u64 *)Memory::GetPointerUnchecked(array); + uint64_t *parray = (uint64_t *)Memory::GetPointerUnchecked(array); sfmt_fill_array64(psfmt, parray, arraylen); return 0;