llplugin: BOOL (int) to real bool

meow-7.2.2
Lars Næsbye Christensen 2024-02-09 02:11:50 +01:00 committed by Andrey Lihatskiy
parent aa4516046a
commit 3a12af88b7
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
extern LLControlGroup gSavedSettings;
#if LL_DARWIN
extern BOOL gHiDPISupport;
extern bool gHiDPISupport;
#endif
static int LOW_PRIORITY_TEXTURE_SIZE_DEFAULT = 256;

View File

@ -478,7 +478,7 @@ bool LLPluginSharedMemory::attach(const std::string &name, size_t size)
mImpl->mMapFile = OpenFileMappingA(
FILE_MAP_ALL_ACCESS, // read/write access
FALSE, // do not inherit the name
false, // do not inherit the name
mName.c_str()); // name of mapping object
if(mImpl->mMapFile == NULL)