]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
64-bit cleanness: fix a couple of format strings in winjump.c.
authorSimon Tatham <anakin@pobox.com>
Sat, 2 Apr 2016 13:12:12 +0000 (14:12 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 2 Apr 2016 13:23:11 +0000 (14:23 +0100)
commitef7a821bb19e657179cad5a383f3991c39a1c527
tree043dac6b6c940c0b258af377843d0e47d33f5b46
parenta5d7a6c10285540371e84b495131a0ee938776e4
64-bit cleanness: fix a couple of format strings in winjump.c.

strcspn() returns a size_t, which is not safe to pass as the parameter
in a printf argument list corresponding to a "*" field width specifier
in the format string, because the latter should be int, which may not
be the same size as size_t.
windows/winjump.c