yes, any form that lets the result of the multiplication to be signed integer
so any of these will do - make lines a signed int - or cast (lines - 1) to a signed int - or cast the result of the (unsigned) multiplication to a signed int
one could event prefer adding a positive integer to subtracting a negative one: ``` if (src_stride < 0) src += (-src_stride) * (lines - 1); ``` which I find more readable to show to intent to walk the image starting from last line in memory order