lib: TYPE_IS_SIGNED macro generates compiler warnings.
authorEthan Jackson <ethan@nicira.com>
Tue, 13 Sep 2011 20:27:38 +0000 (13:27 -0700)
committerEthan Jackson <ethan@nicira.com>
Tue, 13 Sep 2011 21:29:41 +0000 (14:29 -0700)
commit5ce1c3c64db8e2468fbab8d9ba94ee7a805b6d0a
tree7d6bb541fde111aca6221e9f86e5204f256d1507
parent995337c4fc5f249965c52be52e852e5195ed2542
lib: TYPE_IS_SIGNED macro generates compiler warnings.

The TYPE_IS_SIGNED macro does a less than zero comparision with an
unsigned type which can cause compiler warnings like the following:

lib/tag.c:100:9: error: comparison of unsigned expression < 0 is
always false [-Werror=type-limits]
lib/type-props.h