diff --git a/qbittorrent-web-api-gen/src/generate/group.rs b/qbittorrent-web-api-gen/src/generate/group.rs index 2900fdf..d26080e 100644 --- a/qbittorrent-web-api-gen/src/generate/group.rs +++ b/qbittorrent-web-api-gen/src/generate/group.rs @@ -72,7 +72,7 @@ impl types::Type { fn owned_type_ident(&self) -> TokenStream { let owned_type = match self { - types::Type::Number(_) => quote! { i128 }, + types::Type::Number(_) => quote! { i64 }, types::Type::Float(_) => quote! { f32 }, types::Type::Bool(_) => quote! { bool }, types::Type::String(_) => quote! { String },