Skip to content

Commit

Permalink
Fix warning (ldolittle)
Browse files Browse the repository at this point in the history
  • Loading branch information
steve committed May 31, 2007
1 parent 17fd3ba commit 1f9a246
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions eval_tree.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: eval_tree.cc,v 1.75 2007/04/07 04:46:18 steve Exp $"
#ident "$Id: eval_tree.cc,v 1.76 2007/05/31 18:36:06 steve Exp $"
#endif

# include "config.h"
Expand Down Expand Up @@ -1056,7 +1056,7 @@ NetEConst* NetEBShift::eval_tree(int prune_to_width)
wid = lv.len() + shift;
}

if (prune_to_width > 0 && wid > prune_to_width)
if (prune_to_width > 0 && wid > (unsigned)prune_to_width)
wid = prune_to_width;

assert(wid);
Expand Down Expand Up @@ -1655,6 +1655,9 @@ NetEConst* NetEUReduce::eval_tree(int prune_to_width)

/*
* $Log: eval_tree.cc,v $
* Revision 1.76 2007/05/31 18:36:06 steve
* Fix warning (ldolittle)
*
* Revision 1.75 2007/04/07 04:46:18 steve
* Handle evaluate of addition of real valued constants.
*
Expand Down

0 comments on commit 1f9a246

Please sign in to comment.