1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-ab,v 1.3 2001/03/31 00:00:35 dmcmahill Exp $
--- vvp/functor.cc.orig Thu Mar 22 00:28:16 2001
+++ vvp/functor.cc Fri Mar 30 09:47:50 2001
@@ -185,5 +185,5 @@
functor_t idxp = functor_index(idx);
vvp_ipoint_t next = idxp->port[ipoint_port(idx)];
- printf(" set %lx to %u\n", idx, oval);
+ printf(" set %lx to %u\n", (unsigned long) idx, oval);
functor_set(idx, oval);
idx = next;
@@ -195,5 +195,5 @@
for (unsigned idx = 1 ; idx < functor_count ; idx += 1) {
functor_t cur = functor_index(idx*4);
- fprintf(fd, "%10p: out=%x port={%x %x %x %x}\n", idx*4,
+ fprintf(fd, "%10p: out=%x port={%x %x %x %x}\n",(void *) (idx*4),
cur->out, cur->port[0], cur->port[1],
cur->port[2], cur->port[3]);
|