Skip to content

Commit 0e92cea

Browse files
committed
Compiler said that iteration 9223372036854775806 of this invokes undefined behavior
so I obviously needed to fix that
1 parent deae74a commit 0e92cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/Lith/Core/formatstringsplitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ QString FormatStringSplitter::formattedDataGet() {
8484

8585
void FormatStringSplitter::fromStringList(const QStringList& items) {
8686
bool first = true;
87-
int varIndex = 0;
87+
quint32 varIndex = 0;
8888
for (const auto& i : items) {
8989
if (first) {
9090
formatSet(i);

0 commit comments

Comments
 (0)