File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ PythonQtSlotInfo* PythonQtClassInfo::findDecoratorSlotsFromDecoratorProvider(con
173173 bool isClassDeco = false ;
174174 if (signature.startsWith (" static_" )) {
175175 // skip the static_classname_ part of the string
176- signature = signature.mid (7 + 1 + strlen (className ()));
176+ signature = signature.mid (7 + 1 + static_cast < int >( strlen (className () )));
177177 isClassDeco = true ;
178178 } else if (signature.startsWith (" new_" )) {
179179 isClassDeco = true ;
@@ -406,7 +406,7 @@ void PythonQtClassInfo::listDecoratorSlotsFromDecoratorProvider(QStringList& lis
406406 bool isClassDeco = false ;
407407 if (signature.startsWith (" static_" )) {
408408 // skip the static_classname_ part of the string
409- signature = signature.mid (7 + 1 + strlen (className ()));
409+ signature = signature.mid (7 + 1 + static_cast < int >( strlen (className () )));
410410 isClassDeco = true ;
411411 } else if (signature.startsWith (" new_" )) {
412412 continue ;
You can’t perform that action at this time.
0 commit comments