fixed build warnings (including bug report #1005303 )

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3628 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-08-14 17:35:05 +00:00
parent efa2113031
commit d855dafe58
6 changed files with 8 additions and 5 deletions

View file

@ -132,7 +132,7 @@ void NSISCALL myDelete(char *buf, int flags)
if (fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
{
#ifdef NSIS_SUPPORT_RMDIR
if ((flags & DEL_DIR | DEL_RECURSE) == (DEL_DIR | DEL_RECURSE))
if ((flags & (DEL_DIR | DEL_RECURSE)) == (DEL_DIR | DEL_RECURSE))
{
myDelete(buf,flags);
}