Commit 4a9e63f3d717730b852de45146cf4a674f7dc492
authorStephan Veigl <veigl@gmx.net>
Thu, 28 Jul 2011 16:03:33 +0000 (18:03 +0200)
committerMichel Pollet <buserror@gmail.com>
Wed, 14 Sep 2011 07:17:51 +0000 (08:17 +0100)
- increase VCD log size to 5kB

Signed-off-by: Stephan Veigl <veigl@gmx.net>
Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/sim_vcd_file.c

index 76d42e2a75f805a54fd4552290f6f60676a28c03..18aa5abbc15954e61f0d887707025ae585676a01 100644 (file)
@@ -110,7 +110,7 @@ static void avr_vcd_flush_log(avr_vcd_t * vcd)
                        
                if (base > oldbase || li == 0) {
                        seen = 0;
-                       fprintf(vcd->output, "#%llu\n", base);
+                       fprintf(vcd->output, "#%llu\n", (long long unsigned int)base);
                        oldbase = base;
                }
                seen |= (1 << l->signal->irq.irq);      // mark this trace as seen for this timestamp