X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdebugscript.cpp;fp=src%2Fdebugscript.cpp;h=d7ccad348afce6c1f93fa6330fc1f4327423bf23;hb=f3452f32fba45b1f317e4a6a1906d16068ce3bdf;hp=9fd95a671a0877b722bf0f30c6a3816b41044fe6;hpb=a54254dcb23c8db9b78d5bd42e1ca54efda4c8e8;p=ipdf%2Fcode.git diff --git a/src/debugscript.cpp b/src/debugscript.cpp index 9fd95a6..d7ccad3 100644 --- a/src/debugscript.cpp +++ b/src/debugscript.cpp @@ -242,12 +242,12 @@ void DebugScript::PrintPerformance(View * view, Screen * scr) // object_count clock delta_clock x Log10(x) y Log10(y) w Log10(w) Size(w) #ifdef QUADTREE_DISABLED printf("%d\t%llu\t%llu\t%s\t%f\t%s\t%f\t%s\t%f\t%u\n", - now.object_count, (uint64_t)now.clock, - (uint64_t)(now.clock - m_perf_last.clock), + now.object_count, (long long unsigned)now.clock, + (long long unsigned)(now.clock - m_perf_last.clock), Str(now.view_bounds.x).c_str(), Log10(Abs(now.view_bounds.x)), Str(now.view_bounds.y).c_str(), Log10(Abs(now.view_bounds.y)), Str(now.view_bounds.w).c_str(), Log10(now.view_bounds.w), - Size(now.view_bounds.w)); + (unsigned)Size(now.view_bounds.w)); #endif m_perf_last = now; }