mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-14 15:28:20 +00:00
Add an explicit cast to pacify implicit boolean conversion warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216539 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -663,7 +663,7 @@ static const char *getEnvTempDir() {
|
|||||||
|
|
||||||
static const char *getDefaultTempDir(bool ErasedOnReboot) {
|
static const char *getDefaultTempDir(bool ErasedOnReboot) {
|
||||||
#ifdef P_tmpdir
|
#ifdef P_tmpdir
|
||||||
if (P_tmpdir)
|
if ((bool)P_tmpdir)
|
||||||
return P_tmpdir;
|
return P_tmpdir;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user