git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1346
270642c3-0616-0410-b53a-bc976706d245
for (unsigned i (0); i < nEntries; ++i) {
write(1, " 0x", 3);
for (unsigned j (sizeof(void*)); j > 0; --j) {
- ::uintptr_t v( ::uintptr_t (entries[i])>>(8*(j-1)));
+ uintptr_t v ( reinterpret_cast<uintptr_t>(entries[i]) >> (8*(j-1)) );
write(1, &(hex[ (v >> 4) & 0x0f ]), 1);
write(1, &(hex[ (v ) & 0x0f ]), 1);
}
if (argv_[i] == std::string("--no-daemon"))
daemonize(false);
else if (boost::starts_with(argv_[i], std::string("--console-log="))) {
- std::string arg (std::string(argv_[i]), 14u);
+ std::string arg (std::string(argv_[i]).substr(14u));
std::string::size_type komma (arg.find(','));
if (komma == std::string::npos) {
boost::trim(arg);