Skip to content

Commit

Permalink
Fix error in objprimunsigned template
Browse files Browse the repository at this point in the history
'is_unsigned' is 8 bits, not 16.
  • Loading branch information
jstuder-gh committed Sep 11, 2018
1 parent 398f073 commit 985bf64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jit/core_templates.expr
Expand Up @@ -2232,7 +2232,7 @@
(let: (($ss (^storage_spec $1)))
(if
(eq (^getf $ss MVMStorageSpec boxed_primitive) (const 1 int_sz))
(ucast (^getf $ss MVMStorageSpec is_unsigned) int_sz (&sizeof MVMuint16))
(ucast (^getf $ss MVMStorageSpec is_unsigned) int_sz (&sizeof MVMuint8))
(const 0 int_sz)))
(const 0 int_sz)))

Expand Down

0 comments on commit 985bf64

Please sign in to comment.