mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-14 05:42:45 +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:
parent
7e3dc40fab
commit
ccce7032ae
@ -663,7 +663,7 @@ static const char *getEnvTempDir() {
|
||||
|
||||
static const char *getDefaultTempDir(bool ErasedOnReboot) {
|
||||
#ifdef P_tmpdir
|
||||
if (P_tmpdir)
|
||||
if ((bool)P_tmpdir)
|
||||
return P_tmpdir;
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user