Mercurial > hg > svcore
diff base/TempDirectory.cpp @ 1057:5c5d4863b428 tonioni
Merge from cxx11 branch
author | Chris Cannam |
---|---|
date | Mon, 23 Mar 2015 11:26:28 +0000 |
parents | cc27f35aa75c |
children | c811991a5efa |
line wrap: on
line diff
--- a/base/TempDirectory.cpp Mon Mar 23 10:04:48 2015 +0000 +++ b/base/TempDirectory.cpp Mon Mar 23 11:26:28 2015 +0000 @@ -110,7 +110,7 @@ QString suffix; int padlen = 6, attempts = 100; - unsigned int r = time(0) ^ getpid(); + unsigned int r = (unsigned int)(time(0) ^ getpid()); for (int i = 0; i < padlen; ++i) { suffix += "X";