Changes to ease code compilation in gcc. (#541)

Changes to ease code compilation in GCC.

Disk_t and HDD contain a std::string and for this reason they need a proper constructor, ZeroMemory is not guaranteed to work.
This commit is contained in:
Andrea
2018-02-24 15:12:40 +00:00
committed by TomCh
parent 20022d999d
commit 6051bc55d0
65 changed files with 253 additions and 220 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ bool ImageIsMultiFileZip(ImageInfo* const pImageInfo)
const char* ImageGetPathname(ImageInfo* const pImageInfo)
{
static char* szEmpty = "";
static const char* szEmpty = "";
return pImageInfo ? pImageInfo->szFilename : szEmpty;
}