Revision: 9251 https://osdn.net/projects/ttssh2/scm/svn/commits/9251 Author: nmaya Date: 2021-05-16 23:27:34 +0900 (Sun, 16 May 2021) Log Message: ----------- Visual Studio 2005 で起きる Warning を抑制するようにした POKE_U64 で u_int64_t を u_char へ代入 poly1305_auth で uint64_t を uint32_t へ代入 cf. ttssh2-devel 4893 Modified Paths: -------------- branches/ssh_chacha20poly1305/ttssh2/ttxssh/cipher-chachapoly-libcrypto.c branches/ssh_chacha20poly1305/ttssh2/ttxssh/poly1305.c -------------- next part -------------- Modified: branches/ssh_chacha20poly1305/ttssh2/ttxssh/cipher-chachapoly-libcrypto.c =================================================================== --- branches/ssh_chacha20poly1305/ttssh2/ttxssh/cipher-chachapoly-libcrypto.c 2021-05-16 14:26:47 UTC (rev 9250) +++ branches/ssh_chacha20poly1305/ttssh2/ttxssh/cipher-chachapoly-libcrypto.c 2021-05-16 14:27:34 UTC (rev 9251) @@ -18,6 +18,9 @@ /* $OpenBSD: cipher-chachapoly-libcrypto.c,v 1.1 2020/04/03 04:32:21 djm Exp $ */ +// for Visual Studio 2005 +#pragma warning(disable : 4244) + #include <sys/types.h> #include <stdarg.h> /* needed for log.h */ Modified: branches/ssh_chacha20poly1305/ttssh2/ttxssh/poly1305.c =================================================================== --- branches/ssh_chacha20poly1305/ttssh2/ttxssh/poly1305.c 2021-05-16 14:26:47 UTC (rev 9250) +++ branches/ssh_chacha20poly1305/ttssh2/ttxssh/poly1305.c 2021-05-16 14:27:34 UTC (rev 9251) @@ -9,6 +9,9 @@ // #include "includes.h" +// for Visual Studio 2005 +#pragma warning(disable : 4244) + #include <sys/types.h> #ifdef HAVE_STDINT_H # include <stdint.h>