commit | 703819a9314692f3a3b7f888887b0cebc15c18ae | [log] [tgz] |
---|---|---|
author | Andrew Certain <certain@amazon.com> | Tue Dec 04 13:36:41 2012 -0800 |
committer | Scott Feldman <sfeldma@cumulusnetworks.com> | Mon Jan 07 09:59:53 2013 -0800 |
tree | 5a109e346ba409f3707bd5f041f5ffb3b2b5f94c | |
parent | 7798b6321cd0c6281b1a119ac894ff3749e88cc1 [diff] |
ospfd: Changed TE instance check to remove -Wtype-limits warning Since LEGAL_TE_INSTANCE_RANGE() was being passed an unsigned int, a warning was being thrown due to the compare against >= 0. Since this macro was used only in one place, I removed the macro for an explict compare against a constant for the MAX. Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>