- updated the makefiles and code to allow compliation with MinGW once again (some of patch #875485 by perditionc)

- fixed errors and warnings given by gcc


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3513 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-03-12 20:43:54 +00:00
parent 2b3da85bae
commit f4a1f17299
43 changed files with 323 additions and 252 deletions

View file

@ -50,7 +50,7 @@ public:
InitializeCriticalSection(&cs);
}
~CLZMA()
virtual ~CLZMA()
{
End();
DeleteCriticalSection(&cs);
@ -79,7 +79,7 @@ public:
NCoderPropID::kDictionarySize,
NCoderPropID::kNumFastBytes
};
const kNumProps = sizeof(propdIDs) / sizeof(propdIDs[0]);
const int kNumProps = sizeof(propdIDs) / sizeof(propdIDs[0]);
PROPVARIANT props[kNumProps];
// NCoderPropID::kAlgorithm
props[0].vt = VT_UI4;
@ -318,4 +318,4 @@ public:
const char *GetName() { return "lzma"; }
};
#endif
#endif