GNOME Bugzilla – Bug 634753
g_iconv takes gsize, not uint
Last modified: 2018-05-20 17:57:01 UTC
g_iconv function takes gsize for inbytes_left and outbytes_left. In vala bindings, uint is used, which is wrong.
Created attachment 174883 [details] [review] sample patch Patch should be something like this (except uint8 instead of char maybe) but then there's a vala bug: (gsize) (&data_length1) The length of the array is erroneously casted to gsize rather than gsize*.
Created attachment 372249 [details] [review] glib-2.0: Fix IConv.iconv()
Attachment 372249 [details] pushed as 90b7a26 - glib-2.0: Fix IConv.iconv()