[hatari-devel] Type change in dsp.c

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


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.

Regards
Andreas


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