Fixed compiler warnings regarding enum comparison.
authorTobias Brunner <tobias@strongswan.org>
Fri, 25 Nov 2011 08:40:30 +0000 (09:40 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 25 Nov 2011 08:40:30 +0000 (09:40 +0100)
commitedad908792317422e2f0371d8c83396caee6b8e7
tree10c84c5db801c6df7fd85f9633269dbaa0ed1392
parent4f775afda9ad0ad023c6c521f3dd68cca1e3528b
Fixed compiler warnings regarding enum comparison.

Warnings like

  comparison of unsigned expression < 0 is always false

are reported with -Wextra when enum types that are compiled to an
unsigned type (which is up to the compiler) are checked for negativity.
src/libsimaka/simaka_message.c
src/libstrongswan/credentials/cred_encoding.c
src/libstrongswan/processing/processor.c
src/starter/confread.c