mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-19 03:58:05 -05:00
uxsftpserver.c: do not let Clang think we append integer to string
This commit is contained in:
parent
fafb898891
commit
1806b71241
@ -667,7 +667,7 @@ static void uss_readdir(SftpServer *srv, SftpReplyBuilder *reply,
|
|||||||
longnamebuf = dupprintf(
|
longnamebuf = dupprintf(
|
||||||
"%s %3u %-8s %-8s %8s %.3s %2d %02d:%02d %s",
|
"%s %3u %-8s %-8s %8s %.3s %2d %02d:%02d %s",
|
||||||
perms, (unsigned)st.st_nlink, user, group, sizebuf,
|
perms, (unsigned)st.st_nlink, user, group, sizebuf,
|
||||||
("JanFebMarAprMayJunJulAugSepOctNovDec" + 3*tm.tm_mon),
|
(&"JanFebMarAprMayJunJulAugSepOctNovDec"[3*tm.tm_mon]),
|
||||||
tm.tm_mday, tm.tm_hour, tm.tm_min, de->d_name);
|
tm.tm_mday, tm.tm_hour, tm.tm_min, de->d_name);
|
||||||
longname = ptrlen_from_asciz(longnamebuf);
|
longname = ptrlen_from_asciz(longnamebuf);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user