From: jmo Date: Thu, 23 Jul 2009 21:58:22 +0000 (+0000) Subject: fixed 64bit issue: replace unsigned with ::intptr_t X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=3e239b313b46cc784920e525563f34e22a20e38d;p=senf.git fixed 64bit issue: replace unsigned with ::intptr_t git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1278 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Scheduler/FIFORunner.cc b/Scheduler/FIFORunner.cc index 6c220d8..6ddd914 100644 --- a/Scheduler/FIFORunner.cc +++ b/Scheduler/FIFORunner.cc @@ -35,6 +35,7 @@ #include "../Utils/ScopeExit.hh" #include #include "../config.hh" +#include //#include "FIFORunner.mpp" #define prefix_ @@ -255,7 +256,7 @@ prefix_ void senf::scheduler::detail::FIFORunner::watchdogError() for (unsigned i (0); i < nEntries; ++i) { write(1, " 0x", 3); for (unsigned j (sizeof(void*)); j > 0; --j) { - unsigned v (unsigned(entries[i])>>(8*(j-1))); + ::uintptr_t v( ::uintptr_t (entries[i])>>(8*(j-1))); write(1, &(hex[ (v >> 4) & 0x0f ]), 1); write(1, &(hex[ (v ) & 0x0f ]), 1); }