Fixed some minor GCC warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6817 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
82c714e853
commit
015aea3f49
2 changed files with 5 additions and 5 deletions
|
@ -98,7 +98,7 @@ int WINAPI _tWinMain(HINSTANCE hInst,HINSTANCE hOldInst,LPTSTR CmdLineParams,int
|
|||
static bool IsEncrypted(unz_file_info&zfi)
|
||||
{
|
||||
const unsigned short gpf_encrypted = (1<< 0); // 2.0.0+
|
||||
const unsigned short gpf_encstrong = (1<< 6); // 5.0.0+ APPNOTE says that bit 0 MUST be set if bit 6 is set
|
||||
//nst unsigned short gpf_encstrong = (1<< 6); // 5.0.0+ APPNOTE says that bit 0 MUST be set if bit 6 is set
|
||||
const unsigned short gpf_enccntdir = (1<<13); // 6.2.0+ Central Directory Encryption
|
||||
return (zfi.flag & (gpf_encrypted|gpf_enccntdir)) != 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue