diff --git a/Cargo.toml b/Cargo.toml index 9e1ed88..da8a2e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "blend2d" -version = "0.1.0" +version = "0.1.1" authors = ["Lukas Wirth "] edition = "2018" description = "Rust bindings for blend2d" diff --git a/src/macros.rs b/src/macros.rs index 5f7225f..07780cf 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -11,7 +11,7 @@ macro_rules! bl_enum { #[derive(Copy, Clone, Debug, PartialEq, PartialOrd)] $vis enum $name { $( - $variant = $value, + $variant = $value as i32, )* } impl From for $name {