OSDN Git Service

コンパイルエラーなどを修正。
authorsirakaba <sirakaba@9df91469-1e22-0410-86e7-ea8537beb833>
Sat, 20 Feb 2010 02:43:26 +0000 (02:43 +0000)
committersirakaba <sirakaba@9df91469-1e22-0410-86e7-ea8537beb833>
Sat, 20 Feb 2010 02:43:26 +0000 (02:43 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/tpi/tpi@236 9df91469-1e22-0410-86e7-ea8537beb833

src/plugin/eggArc/eggArc.cpp
src/plugin/rarArc/rarArc.cpp
src/plugin/spiLibrary/spiLibrary.cpp

index 7281059..ce85a7e 100644 (file)
@@ -301,7 +301,8 @@ int __stdcall GetFileInformation
        bool _bFirst\r
 )\r
 {\r
-       static wxULongLong_t s_nFileId, s_nFileCount;\r
+       static wxULongLong_t s_nFileId;\r
+       static size_t s_nFileCount;\r
        static FARPROC fpProc;\r
        int nErrorCode;\r
 \r
index 547eb07..2f063e4 100644 (file)
@@ -332,7 +332,7 @@ int __stdcall GetFileInformation
                _fiInfo->tmModified.SetFromDOS(hdInfo.FileTime);\r
                _fiInfo->uOSType        = hdInfo.HostOS;\r
                _fiInfo->szStoredName   = WC2String(hdInfo.FileNameW);\r
-               _fiInfo->szMethod       = wxString::Format(wxT("%x"), hdInfo.Method);\r
+               _fiInfo->szMethod.Printf(wxT("%x"), hdInfo.Method);\r
                _fiInfo->szComment      = UTF82String(hdInfo.CmtBuf);\r
                _fiInfo->llFileId       = s_nFileId++;\r
                _fiInfo->fnFileName     = wxFileName(_fiInfo->szStoredName);\r
index dbe3c06..ca2dd45 100644 (file)
@@ -434,7 +434,7 @@ int __stdcall Command
                                break;\r
                        }\r
 \r
-                       bool bErrorOccured = hFile.Write(::LocalLock(hMemory), (size_t) piInfo.fiInfo.llUnpackedSize.GetValue()) != piInfo.fiInfo.llUnpackedSize;\r
+                       bool bErrorOccured = hFile.Write(::LocalLock(hMemory), (size_t) piInfo.fiInfo.llUnpackedSize) != piInfo.fiInfo.llUnpackedSize;\r
                        ::LocalUnlock(hMemory);\r
                        ::LocalFree(hMemory);\r
                        hFile.Close();\r