From 3a1baf48bbfc82cb71a8989f0132913bfc2a25bc Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 5 Jan 2017 15:59:31 +0100 Subject: trivial: Use bit shift when setting AsStoreWatchFlags enum values --- libappstream-glib/as-store.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libappstream-glib/as-store.h b/libappstream-glib/as-store.h index efbf567..29b2c4d 100644 --- a/libappstream-glib/as-store.h +++ b/libappstream-glib/as-store.h @@ -121,9 +121,9 @@ typedef enum { * The flags to use when local files are added or removed from the store. **/ typedef enum { - AS_STORE_WATCH_FLAG_NONE = 0, /* Since: 0.4.2 */ - AS_STORE_WATCH_FLAG_ADDED = 1, /* Since: 0.4.2 */ - AS_STORE_WATCH_FLAG_REMOVED = 2, /* Since: 0.4.2 */ + AS_STORE_WATCH_FLAG_NONE = 0, /* Since: 0.4.2 */ + AS_STORE_WATCH_FLAG_ADDED = 1 << 0, /* Since: 0.4.2 */ + AS_STORE_WATCH_FLAG_REMOVED = 1 << 1, /* Since: 0.4.2 */ /*< private >*/ AS_STORE_WATCH_FLAG_LAST } AsStoreWatchFlags; -- cgit v1.2.1