Skip to content

Commit acdaf8b

Browse files
committed
Remove Windows compilation warnings
One more: ``` warning C4267: 'return': conversion from 'size_t' to 'uint32_t', possible loss of data ```
1 parent c052af0 commit acdaf8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docparser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,7 @@ static uint32_t skipToEndMarker(const char *data,uint32_t i,size_t len,const QCS
17901790
i++;
17911791
}
17921792
// oops no endmarker found...
1793-
return i<len ? i+1 : len;
1793+
return i<len ? i+1 : static_cast<uint32_t>(len);
17941794
}
17951795

17961796

0 commit comments

Comments
 (0)