summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalev Lember <klember@redhat.com>2017-01-05 15:59:31 +0100
committerKalev Lember <klember@redhat.com>2017-01-06 10:50:41 +0100
commit3a1baf48bbfc82cb71a8989f0132913bfc2a25bc (patch)
tree88a0575cd6b891cdba10fd39da34a75184bd85f7
parentbc758d70b427ed5cd5891eb16e150018c8767487 (diff)
downloadappstream-glib-3a1baf48bbfc82cb71a8989f0132913bfc2a25bc.tar.gz
trivial: Use bit shift when setting AsStoreWatchFlags enum values
-rw-r--r--libappstream-glib/as-store.h6
1 files 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;