mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-21 23:16:39 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user