[Ttssh2-commit] [7867] 64bit時、SPI_IsSupported()の呼び出しを行わずエラーにした

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2019年 7月 21日 (日) 00:18:17 JST


Revision: 7867
          https://osdn.net/projects/ttssh2/scm/svn/commits/7867
Author:   zmatsuo
Date:     2019-07-21 00:18:17 +0900 (Sun, 21 Jul 2019)
Log Message:
-----------
64bit時、SPI_IsSupported()の呼び出しを行わずエラーにした

- 引数へポインタを渡すことができない
- 64bit版Susie Plug-in が存在するのだろうか?

Modified Paths:
--------------
    branches/x64/teraterm/teraterm/vtdisp.c

-------------- next part --------------
Modified: branches/x64/teraterm/teraterm/vtdisp.c
===================================================================
--- branches/x64/teraterm/teraterm/vtdisp.c	2019-07-20 15:18:08 UTC (rev 7866)
+++ branches/x64/teraterm/teraterm/vtdisp.c	2019-07-20 15:18:17 UTC (rev 7867)
@@ -445,8 +445,14 @@
   if(spiVersion[2] != 'I' || spiVersion[3] != 'N')
     goto error;
 
+#if !defined(_M_X64)
   if(!(SPI_IsSupported)(nameFile,(unsigned long)bufFile))
     goto error;
+#else
+  // TODO \x83|\x83C\x83\x93\x83^\x82\xF0 unsigned long \x82ɕϊ\xB7\x82\xB5\x82Ă\xA2\x82\xE9
+  // 64bit\x94\xC5Susie Plug-in \x82\xAA\x91\xB6\x8D݂\xB7\x82\xE9?
+  goto error;
+#endif
 
   if((SPI_GetPicture)(bufFile,sizeFile,1,hbmi,hbuf,NULL,0))
     goto error;


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