https://bz.apache.org/bugzilla/show_bug.cgi?id=47270
Dominik Stadler <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|PatchAvailable | Resolution|--- |LATER Status|NEEDINFO |RESOLVED --- Comment #3 from Dominik Stadler <[email protected]> --- I think the negative value results from interpreting an unsigned int as signed int, i.e. the unsigned int has a larger positive range than what int can hold, so very large unsigned ints will lead to negative signed int values when a cast is used. to correctly handle large unsigned ints, you need to use a long datatype. However I assume something with the document is not quite right here as I don't think the section size really holds such large values in your document, or? However for now without a sample document we are not able to investigate here, therefore I am setting this to LATER for now, please reopen this with a sample document and the steps to reproduce the problem, ideally as self-sufficient unit test. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
