GNOME Bugzilla – Bug 680370
relaxng.c pointer size assumption
Last modified: 2019-01-30 11:07:53 UTC
in xmlRelaxNGComputeInterleaves there are several bad casts that may break the code: Do not assume sizeof(void*)==sizeof(long) For example MinGW64 you should cast to long long. Also the first cast is not needed sizeof(int)<=sizeof(void*) so this should do fine (void*)(i + 1) But why that code any way. i is a counter and why cast next value into a pointer? That does not make any sense.
*** This bug has been marked as a duplicate of bug 788312 ***