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
173
173
bool isClassDeco = false ;
174
174
if (signature.startsWith (" static_" )) {
175
175
// 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 () )));
177
177
isClassDeco = true ;
178
178
} else if (signature.startsWith (" new_" )) {
179
179
isClassDeco = true ;
@@ -406,7 +406,7 @@ void PythonQtClassInfo::listDecoratorSlotsFromDecoratorProvider(QStringList& lis
406
406
bool isClassDeco = false ;
407
407
if (signature.startsWith (" static_" )) {
408
408
// 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 () )));
410
410
isClassDeco = true ;
411
411
} else if (signature.startsWith (" new_" )) {
412
412
continue ;
You can’t perform that action at this time.
0 commit comments