]> git.ipfire.org Git - thirdparty/vala.git/commit
Recompute length when casting between array types
authorSimon Werbeck <simon.werbeck@gmail.com>
Wed, 18 Jul 2012 20:11:20 +0000 (22:11 +0200)
committerJürg Billeter <j@bitron.ch>
Wed, 1 Aug 2012 10:14:23 +0000 (12:14 +0200)
commitd5f417c12f02d56bc377aaacc5e7b299525586cb
treeb67b24d69490990a2872852675d8c3dfd69da44b
parent3cda0bdebb78d57b357ca784265cea3dd810d7f7
Recompute length when casting between array types

This patch makes casting, e.g., from int[] to uchar[] work as expected
by adjusting the array length field.

Fixes bug 515408.
codegen/valaccodebasemodule.vala