Re: [hatari-devel] Type change in dsp.c

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


Le 05/08/2025 à 10:20, Andreas Grabher a écrit :
Hello all,

in dsp.c there is a minor type issue in DSP_GetRegisterAddress(). For some reason the struct member 'bits' in reg_addr_t is defined as size_t. The variable is only set to values 16 or 32 and then returned as an integer. The type of the value should be int to avoid useless conversions.


Hi

update done

Nicolas



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