projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e3dc40
)
Add an explicit cast to pacify implicit boolean conversion warnings.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Wed, 27 Aug 2014 11:47:52 +0000
(11:47 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Wed, 27 Aug 2014 11:47:52 +0000
(11:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216539
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Unix/Path.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Unix/Path.inc
b/lib/Support/Unix/Path.inc
index 24b0e21ce0ad4f0ffd16203db048b0c3cc06dfde..2e0519b3ca6d8d27c3126cfb7b4d1c0fcccc68c1 100644
(file)
--- a/
lib/Support/Unix/Path.inc
+++ b/
lib/Support/Unix/Path.inc
@@
-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