Fix uintptr_t/u32 overloads

This commit is contained in:
Luke Street
2026-02-28 20:51:16 -07:00
parent 3058d869c3
commit d25b68faa5
2 changed files with 7 additions and 8 deletions
+7 -4
View File
@@ -18,12 +18,15 @@ public:
s32 write(const void*, s32);
void write(const char*);
#ifdef TARGET_PC
JSUOutputStream& operator<<(uintptr_t param_0) {
write(&param_0, sizeof(uintptr_t));
JSUOutputStream& operator<<(u64 param_0) {
write(&param_0, sizeof(u64));
return *this;
}
JSUOutputStream& operator<<(s64 param_0) {
write(&param_0, sizeof(s64));
return *this;
}
#endif
JSUOutputStream& operator<<(u32 param_0) {
write(&param_0, sizeof(u32));