Fix a lot of MinGW/GCC warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6168 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e918dd8a27
commit
cf4e5cf132
31 changed files with 92 additions and 87 deletions
|
@ -95,7 +95,7 @@ typedef enum {
|
|||
} NCOMPRESSOR;
|
||||
|
||||
#ifdef MAKENSISW_CPP
|
||||
TCHAR *compressor_names[] = {_T(""),
|
||||
const TCHAR *compressor_names[] = {_T(""),
|
||||
_T("zlib"),
|
||||
_T("/SOLID zlib"),
|
||||
_T("bzip2"),
|
||||
|
@ -103,7 +103,7 @@ TCHAR *compressor_names[] = {_T(""),
|
|||
_T("lzma"),
|
||||
_T("/SOLID lzma"),
|
||||
_T("Best")};
|
||||
TCHAR *compressor_display_names[] = {_T("Defined in Script/Compiler Default"),
|
||||
const TCHAR *compressor_display_names[] = {_T("Defined in Script/Compiler Default"),
|
||||
_T("ZLIB"),
|
||||
_T("ZLIB (solid)"),
|
||||
_T("BZIP2"),
|
||||
|
@ -190,9 +190,9 @@ typedef struct NSISScriptData {
|
|||
CHARRANGE textrange;
|
||||
NCOMPRESSOR default_compressor;
|
||||
NCOMPRESSOR compressor;
|
||||
TCHAR *compressor_name;
|
||||
LPCTSTR compressor_name;
|
||||
TCHAR compressor_stats[512];
|
||||
TCHAR *best_compressor_name;
|
||||
LPCTSTR best_compressor_name;
|
||||
// Added by Darren Owen (DrO) on 1/10/2003
|
||||
int recompile_test;
|
||||
} NSCRIPTDATA;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue