Skip to content

Commit ceaca65

Browse files
author
florianlink
committed
removed warnings
git-svn-id: http://svn.code.sf.net/p/pythonqt/code/trunk@285 ea8d5007-eb21-0410-b261-ccb3ea6e24a9
1 parent 26d5cfa commit ceaca65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PythonQtClassInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)