View Revisions: Issue #15772

Summary 0015772: text/storytext.h: d->len is uint but "int length()"
Revision 2019-08-16 09:44 by ale
Description in text/storytext.h length() returns an int, but the value of d->len it returns is uint.

this leads to warnings when using length(), since some of the values length() is compared to are uints (and they should be... since a text cannot have a negative length)
Revision 2019-08-16 09:44 by ale
Description in text/storytext.h length() returns an int, but the value of d->len it renturns is uint.

this leads to warnings when using length(), since some of the values length() is compared to are uints (and they should be... since a text cannot have a negative length)