aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/state
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-26 13:27:22 -0400
committerDavid Robillard <d@drobilla.net>2022-05-26 13:27:22 -0400
commit52650784331844f8a92c5e9c4ba443a468743867 (patch)
treed3e5477eeb641344466d2994b1d052defff69f36 /lv2/state
parentec24b754f1fa81f05b011a444a1dd8d67d066d31 (diff)
downloadlv2-52650784331844f8a92c5e9c4ba443a468743867.tar.xz
Suppress new warnings in clang-tidy 13
Diffstat (limited to 'lv2/state')
-rw-r--r--lv2/state/state.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lv2/state/state.h b/lv2/state/state.h
index e526d85..01ec598 100644
--- a/lv2/state/state.h
+++ b/lv2/state/state.h
@@ -82,7 +82,7 @@ typedef enum {
Implementations MUST NOT attempt to copy or serialise a non-POD value if
they do not understand its type (and thus know how to correctly do so).
*/
- LV2_STATE_IS_POD = 1,
+ LV2_STATE_IS_POD = 1u << 0u,
/**
Portable (architecture independent) data.
@@ -93,7 +93,7 @@ typedef enum {
values MUST NOT depend on architecture-specific properties like
endianness or alignment. Portable values MUST NOT contain filenames.
*/
- LV2_STATE_IS_PORTABLE = 1 << 1,
+ LV2_STATE_IS_PORTABLE = 1u << 1u,
/**
Native data.
@@ -104,7 +104,7 @@ typedef enum {
most efficient representation possible and not worry about serialisation
and portability.
*/
- LV2_STATE_IS_NATIVE = 1 << 2
+ LV2_STATE_IS_NATIVE = 1u << 2u
} LV2_State_Flags;
/** A status code for state functions. */