Fix several compile issues (#261)

Fixed several code issues.  Mostly pedantic compiler warnings.  But also a sign issue exposed by newer compilers (#228, #260)
This commit is contained in:
Jaye Evins
2025-12-06 15:58:38 -05:00
committed by GitHub
parent 44a10fc796
commit b6cac2d208
10 changed files with 41 additions and 18 deletions
+3 -3
View File
@@ -35,15 +35,15 @@ namespace glabels
public:
ParserState() = default;
ParserState( const QString& string,
unsigned int pos = 0 );
qsizetype pos = 0 );
~ParserState() = default;
QChar operator[]( unsigned int i ) const;
QChar operator[]( qsizetype i ) const;
bool isNextSubString( const QString& s ) const;
qsizetype pos() const;
qsizetype charsLeft() const;
void advanceChars( unsigned int i );
void advanceChars( qsizetype i );
private: