From de38f914e898b0333ff9ef452ee9d1caa1907999 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 15 Mar 2012 21:47:59 +0100 Subject: [PATCH] Fix comparison type warning. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I4051c5bc204215f368e4381e508dd870be240f8f Reviewed-by: Thiago Macieira Reviewed-by: Andreas Holzammer Reviewed-by: Jędrzej Nowacki --- src/tools/moc/generator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/moc/generator.cpp b/src/tools/moc/generator.cpp index 1284518..afd4cfe 100644 --- a/src/tools/moc/generator.cpp +++ b/src/tools/moc/generator.cpp @@ -60,7 +60,7 @@ uint nameToBuiltinType(const QByteArray &name) return 0; uint tp = QMetaType::type(name.constData()); - return tp < uint(QMetaType::User) ? tp : QMetaType::UnknownType; + return tp < uint(QMetaType::User) ? tp : uint(QMetaType::UnknownType); } /* -- 2.7.4