mirror of https://github.com/OpenTTD/OpenTTD
Codefix: Incorrect cast.
parent
7ab9e21143
commit
10bd91f354
|
@ -711,7 +711,7 @@ struct TextRefStack {
|
||||||
uint16_t val = this->PopUnsignedByte();
|
uint16_t val = this->PopUnsignedByte();
|
||||||
return val | (this->PopUnsignedByte() << 8);
|
return val | (this->PopUnsignedByte() << 8);
|
||||||
}
|
}
|
||||||
int16_t PopSignedWord() { return static_cast<int32_t>(this->PopUnsignedWord()); }
|
int16_t PopSignedWord() { return static_cast<int16_t>(this->PopUnsignedWord()); }
|
||||||
|
|
||||||
uint32_t PopUnsignedDWord()
|
uint32_t PopUnsignedDWord()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue