[Ttssh2-commit] [5518] プラグマで下記警告を抑止する。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2014年 3月 10日 (月) 22:12:41 JST


Revision: 5518
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5518
Author:   yutakapon
Date:     2014-03-10 22:12:40 +0900 (Mon, 10 Mar 2014)
Log Message:
-----------
プラグマで下記警告を抑止する。

warning C4146: 符号付きの値を代入する変数は、符号付き型にキャストしなければなりません。

Modified Paths:
--------------
    branches/ssh_ed25519/ttssh2/ttxssh/ed25519_fe25519.c

-------------- next part --------------
Modified: branches/ssh_ed25519/ttssh2/ttxssh/ed25519_fe25519.c
===================================================================
--- branches/ssh_ed25519/ttssh2/ttxssh/ed25519_fe25519.c	2014-03-09 16:50:04 UTC (rev 5517)
+++ branches/ssh_ed25519/ttssh2/ttxssh/ed25519_fe25519.c	2014-03-10 13:12:40 UTC (rev 5518)
@@ -13,6 +13,8 @@
 
 #include "ed25519_fe25519.h"
 
+#pragma warning(disable : 4146)
+
 static crypto_uint32 equal(crypto_uint32 a,crypto_uint32 b) /* 16-bit inputs */
 {
   crypto_uint32 x = a ^ b; /* 0: yes; 1..65535: no */



Ttssh2-commit メーリングリストの案内
Back to archive index