SysMin: Update type to match print pattern
authorSam Nelson <sam.nelson@ti.com>
Tue, 8 Oct 2019 01:08:47 +0000 (21:08 -0400)
committerSam Nelson <sam.nelson@ti.com>
Tue, 8 Oct 2019 19:51:05 +0000 (15:51 -0400)
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
packages/ti/trace/SysMin.c

index 0d93fc85d6d1ade50570d014864b82f80e223103..89ab2635ff78f36f282c03816dc0a4614fde7d1f 100644 (file)
@@ -191,7 +191,7 @@ Void SysMin_putch(Char ch)
             uSec  = Clock_getTicks() * (UInt64)Clock_tickPeriod;
             SysMin_output('[');
             if (uSec) {
-                snprintf(timeStamp, sizeof(timeStamp), "%17llu\0", uSec);
+                snprintf(timeStamp, sizeof(timeStamp), "%17llu\0", (unsigned long long)uSec);
             }
             for (index = startIdx; index < endIdx; index++) {
                 if (index == decPtIdx) {