]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
actually, they're unsigned
authorNicholas Nethercote <njn@valgrind.org>
Sun, 25 Sep 2005 17:59:16 +0000 (17:59 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sun, 25 Sep 2005 17:59:16 +0000 (17:59 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4766

cachegrind/cg_main.c
massif/ms_main.c

index 1bf028a0c1bf93f549d2cebc29c9fc5bae51b650..d85baff19f324dc2b05832bb7f476e96da28d99b 100644 (file)
@@ -976,7 +976,7 @@ static void cg_fini(Int exitcode)
    l3 = ULong_width(Dw_total.a);
 
    /* Make format string, getting width right for numbers */
-   VG_(sprintf)(fmt, "%%s %%,%dlld", l1);
+   VG_(sprintf)(fmt, "%%s %%,%dllu", l1);
    
    VG_(message)(Vg_UserMsg, fmt, "I   refs:     ", Ir_total.a);
    VG_(message)(Vg_UserMsg, fmt, "I1  misses:   ", Ir_total.m1);
@@ -999,7 +999,7 @@ static void cg_fini(Int exitcode)
    D_total.m2 = Dr_total.m2 + Dw_total.m2;
        
    /* Make format string, getting width right for numbers */
-   VG_(sprintf)(fmt, "%%s %%,%dlld  (%%,%dlld rd + %%,%dlld wr)", l1, l2, l3);
+   VG_(sprintf)(fmt, "%%s %%,%dllu  (%%,%dllu rd + %%,%dllu wr)", l1, l2, l3);
 
    VG_(message)(Vg_UserMsg, fmt, "D   refs:     ", 
                             D_total.a, Dr_total.a, Dw_total.a);
index eda8186788c239b22d43671190d98b38f957ab31..73c49d0dc8fc1310a24bacbdc654cbf25b0258d0 100644 (file)
@@ -1689,7 +1689,7 @@ static void
 print_summary(ULong total_ST, ULong heap_ST, ULong heap_admin_ST,
               ULong stack_ST)
 {
-   VG_(message)(Vg_UserMsg, "Total spacetime:   %,lld ms.B", total_ST);
+   VG_(message)(Vg_UserMsg, "Total spacetime:   %,llu ms.B", total_ST);
 
    // Heap --------------------------------------------------------------
    if (clo_heap)