Mercurial > hg > svcore
diff base/TempDirectory.cpp @ 1038:cc27f35aa75c cxx11
Introducing the signed 64-bit frame index type, and fixing build failures from inclusion of -Wconversion with -Werror. Not finished yet.
author | Chris Cannam |
---|---|
date | Tue, 03 Mar 2015 15:18:24 +0000 |
parents | f5cd33909744 |
children | c811991a5efa |
line wrap: on
line diff
--- a/base/TempDirectory.cpp Tue Mar 03 09:33:59 2015 +0000 +++ b/base/TempDirectory.cpp Tue Mar 03 15:18:24 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";