ofproto: Fix compiler warnings.
authorEthan Jackson <ethan@nicira.com>
Tue, 17 Jul 2012 16:28:06 +0000 (09:28 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 17 Jul 2012 16:47:14 +0000 (09:47 -0700)
commit1ec3db6fd8cff83555ba496c32324ab78731b6c1
tree8417eae4eae9c597e751c59bbedf98f10b362d09
parentfbcbc81484d1945f1f25854e6b549b087ccfaacf
ofproto: Fix compiler warnings.

This patch fixes the following warnings on my system:

lib/ofp-actions.c:458:13: error: format '%x' expects argument of
type 'unsigned int', but argument 4 has type 'long unsigned int'
[-Werror=format]

ofproto/ofproto.c:3940:13: error: comparison between 'enum
ofoperation_type' and 'enum nx_flow_update_event'
[-Werror=enum-compare]

ofproto/ofproto.c:3941:13: error: comparison between 'enum
ofoperation_type' and 'enum nx_flow_update_event'
[-Werror=enum-compare]

ofproto/ofproto.c:3942:13: error: comparison between 'enum
ofoperation_type' and 'enum nx_flow_update_event'
[-Werror=enum-compare]

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-actions.c
ofproto/ofproto.c