View Issue Details

IDProjectCategoryView StatusLast Update
0015772ScribusInternalpublic2019-10-24 07:22
Reporterale Assigned To 
Status newResolutionopen 
Product Version1.5.6.svn 
Summary0015772: text/storytext.h: d->len is uint but "int length()"
Descriptionin 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)
TagsNo tags attached.



2019-10-24 05:14

administrator   ~0046848

Everything we use should be int so I think StoryText needs to change.


2019-10-24 07:22

manager   ~0046851

just don't static_cast the values everywhere but change the interfaces...

Issue History

Date Modified Username Field Change
2019-08-16 09:44 ale New Issue
2019-08-16 09:44 ale Description Updated
2019-08-17 12:28 jghali Category - => Internal
2019-10-24 05:14 cbradney Note Added: 0046848
2019-10-24 07:22 ale Note Added: 0046851