summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7e3dc40)
raw | patch | inline | side by side (parent: 7e3dc40)
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 |
index 24b0e21ce0ad4f0ffd16203db048b0c3cc06dfde..2e0519b3ca6d8d27c3126cfb7b4d1c0fcccc68c1 100644 (file)
static const char *getDefaultTempDir(bool ErasedOnReboot) {
#ifdef P_tmpdir
- if (P_tmpdir)
+ if ((bool)P_tmpdir)
return P_tmpdir;
#endif