GNOME Bugzilla – Bug 730284
Type mismatch in `lsm_itex_to_mathml`
Last modified: 2014-05-18 18:52:04 UTC
The header for lsm_itex_to_mathml looks like this: ``` lsm_itex_to_mathml (const char *itex, int size) ``` It ends up acting as a clever wrapper to ``` extern char * itex2MML_parse (const char * buffer, unsigned long length); ``` I think the type discrepancy between the Lasem's `int size` and itex2MML's `unsigned long length` could cause problems. It seems like the only reason for this is to be able to pass in -1 to indicate that the function should determine the size. NULL could also work for this purpose, while still creating an unsigned long value for itex2MML.
I guess you are right. It's fixed in master. https://git.gnome.org/browse/lasem/commit/?id=85e1ce96f9e9eb631d78b22a1c32cef8af12ec3c