mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-08-02 22:30:41 +00:00
Fix build
This commit is contained in:
parent
d7a435ff42
commit
9035c4a24d
1 changed files with 1 additions and 1 deletions
|
@ -577,7 +577,7 @@ impl<'a> MethodEmitContext<'a> {
|
|||
let builder = self.builder;
|
||||
match conversion.kind {
|
||||
ConversionKind::Default => {
|
||||
match (conversion.from_type, conversion.to_type) {
|
||||
match (&conversion.from_type, &conversion.to_type) {
|
||||
(ast::Type::Scalar(from_type), ast::Type::Scalar(to_type)) => {
|
||||
let from_layout = conversion.from_type.layout();
|
||||
let to_layout = conversion.to_type.layout();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue