<pre>printf("CBlock::WriteToDisk() : Truncated block file %s (new size: %u bytes)\n", std::string.c_str(), uint64 &);</pre>
Result: "CBlock::WriteToDisk() : Preallocated C:\Bitcoin\testnet\blk0001.dat bytes for block file 2130706432" -> good
<pre>printf("CBlock::WriteToDisk() : Truncated block file %u (new size: %s bytes)\n", uint64 &, std::string.c_str());</pre>
Result: "CBlock::WriteToDisk() : Preallocated 2130706432 bytes for block file (null)" -> bad
I can't explain, but the uint64 before the reference to a std::string works, reverse order and the std::string displays as (null). Can a dev try to reproduce this or has an idea? This is an occurence in an own-build, so perhaps not a global problem!