******************************************
* Some errors found in NSIS source files *
*                                        *
* Nels, 2001-10-17                       *
******************************************

File  : exehead\exec.c
Lines : 803, 804
Error : Wrong type
Todo  : Change int l = 1024 and int t=REG_SZ,ot to DWORD l = 1024 and DWORD t=REG_SZ,ot

File  : exehead\exec.c
Lines : 469, 470
Error : No casting
Todo  : Change VerQueryValue(b1,"\\",&pvsf1,&uLen) to VerQueryValue(b1,"\\",(void*)&pvsf1,&uLen) and VerQueryValue(b1,"\\",&pvsf2,&uLen) to VerQueryValue(b1,"\\",(void*)&pvsf2,&uLen)

File  : exehead\ui.c
Lines : 101, 102
Error : Wrong type
Todo  : Change int l = sizeof(buf) and int t=REG_SZ to DWORD l = sizeof(buf) and DWORD t=REG_SZ

File  : exehead\ui.c
Lines : 326
Error : Wrong type
Todo  : Change WNDPROC proc to DLGPROC proc

File  : exehead\util.c
Lines : 219, 220, 324, 325
Error : Wrong type
Todo  : Change int l = sizeof(buf) and int t=REG_SZ to DWORD l = sizeof(buf) and DWORD t=REG_SZ

File  : makenssi.cpp
Lines : 82
Error : No casting
Todo  : Change build.define(s,v?v:"") to build.define(s,v?v:(char *)"")

File  : script.cpp
Lines : 264
Error : No casting
Todo  : Change linedata.add("",1) to linedata.add((void *)"",1)

File  : script.cpp
Lines : 2071
Error : No casting
Todo  : Change ent.offsets[2]=add_data(filedata?filedata:"",len) to ent.offsets[2]=add_data(filedata?filedata:(char *)"",len)