Closed ghost closed 10 years ago
This code in a Big-Endian system: RakNet::uint24_t test(0); test++; printf("%u\n", test.val); will print 0 and not the expected 1.
I will try to solve it and post a solution in a comment.
sorry.. some testcode made it not work..
This code in a Big-Endian system: RakNet::uint24_t test(0); test++; printf("%u\n", test.val); will print 0 and not the expected 1.
I will try to solve it and post a solution in a comment.