From 4413dd3c813b17ed1eab96367b960083e051cb21 Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 13 Jun 2005 23:22:37 +0000 Subject: [PATCH] Fix compile errors. --- net_link.cc | 7 +++++-- t-dll-api.cc | 9 ++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/net_link.cc b/net_link.cc index 23104d79b..b5220e47e 100644 --- a/net_link.cc +++ b/net_link.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: net_link.cc,v 1.16 2005/04/24 23:44:02 steve Exp $" +#ident "$Id: net_link.cc,v 1.17 2005/06/13 23:22:37 steve Exp $" #endif # include "config.h" @@ -329,7 +329,7 @@ unsigned Nexus::vector_width() const NetNet* Nexus::pick_any_net() { for (Link*cur = first_nlink() ; cur ; cur = cur->next_nlink()) { - NetNet*sig = dynamic_cast(cur->get_obj()); + NetNet*sig = dynamic_cast(cur->get_obj()); if (sig != 0) return sig; } @@ -523,6 +523,9 @@ bool NexusSet::intersect(const NexusSet&that) const /* * $Log: net_link.cc,v $ + * Revision 1.17 2005/06/13 23:22:37 steve + * Fix compile errors. + * * Revision 1.16 2005/04/24 23:44:02 steve * Update DFF support to new data flow. * diff --git a/t-dll-api.cc b/t-dll-api.cc index e0bad4f63..c27ca952e 100644 --- a/t-dll-api.cc +++ b/t-dll-api.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: t-dll-api.cc,v 1.127 2005/05/24 01:44:28 steve Exp $" +#ident "$Id: t-dll-api.cc,v 1.128 2005/06/13 23:22:37 steve Exp $" #endif # include "config.h" @@ -535,7 +535,7 @@ extern "C" ivl_drive_t ivl_logic_drive0(ivl_net_logic_t net) } assert(0); - return 0; + return IVL_DR_STRONG; } extern "C" ivl_drive_t ivl_logic_drive1(ivl_net_logic_t net) @@ -552,7 +552,7 @@ extern "C" ivl_drive_t ivl_logic_drive1(ivl_net_logic_t net) } assert(0); - return 0; + return IVL_DR_STRONG; } extern "C" const char* ivl_logic_name(ivl_net_logic_t net) @@ -2040,6 +2040,9 @@ extern "C" ivl_variable_type_t ivl_variable_type(ivl_variable_t net) /* * $Log: t-dll-api.cc,v $ + * Revision 1.128 2005/06/13 23:22:37 steve + * Fix compile errors. + * * Revision 1.127 2005/05/24 01:44:28 steve * Do sign extension of structuran nets. *