mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-03 18:30:29 -05:00

udata[uindex] is a wchar_t, so if we pass it to sprintf("%d") we should cast it to int (because who knows what primitive integer type that might have corresponded to otherwise). I had done this in the first of the two sprintfs that use it, but missed the second one a few lines further on. Spotted by Coverity.