Re: Regression in 8.0 - segfaults on start on linux64
Reply #6 –
Thank you for your investigation. That commit is actually from Standard: the change is in simtypes.h as follows:
-return ((uint16)data[0]) | ( ((uint16)data[1]) << 8 );
+ /* according to C standard uint8 will be anyway extended to unsigned */
+ return (uint16)(data[0] | ( data[1] << 8 ));
Can you try the latest Simutrans-Standard code and see whether you have the same problem?