signed/unsigned comparison
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5925 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
10e431be59
commit
8d5bca8080
1 changed files with 1 additions and 1 deletions
|
@ -633,7 +633,7 @@ CResourceDirectory* CResourceEditor::ScanDirectory(PRESOURCE_DIRECTORY rdRoot, P
|
|||
|
||||
if (m_bKeepData)
|
||||
{
|
||||
if (dwOffset > m_iSize)
|
||||
if (dwOffset > DWORD(m_iSize))
|
||||
{
|
||||
throw runtime_error("Invalid resource entry data pointer, possibly compressed resources");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue