mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-31 23:48:17 -04:00
Fix uintptr_t/u32 overloads
This commit is contained in:
@@ -18,11 +18,7 @@ T* JSUConvertOffsetToPtr(const void* ptr, uintptr_t offset) {
|
||||
*
|
||||
*/
|
||||
template <typename T>
|
||||
#if TARGET_PC
|
||||
T* JSUConvertOffsetToPtr(const void* ptr, u32 offset) {
|
||||
#else
|
||||
T* JSUConvertOffsetToPtr(const void* ptr, const void* offset) {
|
||||
#endif
|
||||
T* ret;
|
||||
if (offset == 0) {
|
||||
ret = NULL;
|
||||
|
||||
Reference in New Issue
Block a user