X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Fovsdb-types.h;h=efd83a7916971b5aa5282d727b50b49536367fbb;hb=f8e4867eafd076e94bdb5bcf7c7dc69ca7a9c8ae;hp=e852391ccd44bc834d33f21673b3154303f05be5;hpb=219c9a73dc5bdff5c1350cc1b9cc10e405fefed2;p=openvswitch diff --git a/lib/ovsdb-types.h b/lib/ovsdb-types.h index e852391c..efd83a79 100644 --- a/lib/ovsdb-types.h +++ b/lib/ovsdb-types.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2009, 2010, 2011 Nicira Networks +/* Copyright (c) 2009, 2010, 2011 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -168,7 +168,7 @@ struct json *ovsdb_type_to_json(const struct ovsdb_type *); static inline bool ovsdb_atomic_type_is_valid(enum ovsdb_atomic_type atomic_type) { - return atomic_type >= 0 && atomic_type < OVSDB_N_TYPES; + return (int) atomic_type >= 0 && atomic_type < OVSDB_N_TYPES; } static inline bool