Avoid another unsigned vs signed integer overflow in packing

This commit is contained in:
dmiller 2016-08-20 00:08:02 +00:00
parent 11c2662a40
commit bd77d65e3b

View file

@ -786,7 +786,7 @@ function RmiDataStream:writeMethodCall(out,objNum, hash, op, arguments)
-- Send Call:
dos:writeByte(0x50)
-- Send Magic 0xaced
dos:writeShort(0xACED)
dos:writeUnsignedShort(0xACED)
-- Send version 0x0005
dos:writeShort(0x0005)
-- Send TC_BLOKDATA