Use consistent s32/u32 (#2964)

* cleanup long usage

* fix regression
This commit is contained in:
roeming
2025-12-18 16:31:44 -05:00
committed by GitHub
parent 7cae156176
commit 93067110f6
16 changed files with 29 additions and 29 deletions
+4 -4
View File
@@ -15,14 +15,14 @@ public:
JGadget_outMessage(MessageFunc fn, const char* file, int line);
~JGadget_outMessage();
JGadget_outMessage& operator<<(int param_1) { return *this << (signed long)param_1; }
JGadget_outMessage& operator<<(int param_1) { return *this << (s32)param_1; }
JGadget_outMessage& operator<<(u16);
JGadget_outMessage& operator<<(unsigned int);
JGadget_outMessage& operator<<(uint);
JGadget_outMessage& operator<<(u8 param_1) { return *this << (char)param_1; }
JGadget_outMessage& operator<<(const char* str);
JGadget_outMessage& operator<<(char);
JGadget_outMessage& operator<<(signed long);
JGadget_outMessage& operator<<(unsigned long);
JGadget_outMessage& operator<<(s32);
JGadget_outMessage& operator<<(u32);
JGadget_outMessage& operator<<(const void*);
private:
+2 -2
View File
@@ -128,8 +128,8 @@ struct TLinkList : TNodeLinkList {
iterator& operator=(const iterator& rhs) {
//TODO: Probably fakematch? Not sure what's going on here exactly
(TIterator<std::bidirectional_iterator_tag, T, long, T*, T&>&)*this =
(const TIterator<std::bidirectional_iterator_tag, T, long, T*, T&>&)rhs;
(TIterator<std::bidirectional_iterator_tag, T, s32, T*, T&>&)*this =
(const TIterator<std::bidirectional_iterator_tag, T, s32, T*, T&>&)rhs;
this->node = rhs.node;
return *this;
}