summaryrefslogtreecommitdiff
path: root/cad/verilog-current/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'cad/verilog-current/patches/patch-ab')
-rw-r--r--cad/verilog-current/patches/patch-ab18
1 files changed, 18 insertions, 0 deletions
diff --git a/cad/verilog-current/patches/patch-ab b/cad/verilog-current/patches/patch-ab
new file mode 100644
index 00000000000..df9735025c1
--- /dev/null
+++ b/cad/verilog-current/patches/patch-ab
@@ -0,0 +1,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]);