diff options
Diffstat (limited to 'user/milou/fix-test-signedness.patch')
-rw-r--r-- | user/milou/fix-test-signedness.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/user/milou/fix-test-signedness.patch b/user/milou/fix-test-signedness.patch new file mode 100644 index 000000000..373c67bc1 --- /dev/null +++ b/user/milou/fix-test-signedness.patch @@ -0,0 +1,11 @@ +--- milou-5.8.7/lib/test/modeltest.cpp.old 2017-05-23 07:05:02.000000000 -0500 ++++ milou-5.8.7/lib/test/modeltest.cpp 2017-10-06 05:05:21.383062040 -0500 +@@ -451,7 +451,7 @@ + // Check that the alignment is one we know about + QVariant textAlignmentVariant = model->data ( model->index ( 0, 0 ), Qt::TextAlignmentRole ); + if ( textAlignmentVariant.isValid() ) { +- int alignment = textAlignmentVariant.toInt(); ++ unsigned int alignment = textAlignmentVariant.toUInt(); + QCOMPARE( alignment, ( alignment & ( Qt::AlignHorizontal_Mask | Qt::AlignVertical_Mask ) ) ); + } + |