Re: [hatari-devel] Switching from SDL_types.h to inttypes.h ?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On 28.9.2022 17.06, Nicolas Pomarède wrote:
Le 28/09/2022 à 16:05, Nicolas Pomarède a écrit :

BTW, I see you didn't replace size=64 in your sed, it's not used often but there're a few places that require it for global cycles counter.

looking at cycles.c I see you replaced size=64 too, so false alarm :)

It's also better to use word delimiters in case type is just part of e.g. function name:

files=<filenames>
for x in 8 16 32 64; do
  sed -i "s/\bUint${x}\b/uint${x}_t/g" $files;
  sed -i "s/\bSint${x}\b/int${x}_t/g" $files;
done


I will cleanup screen.c + convert/.


	- Eero



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/