From fd5c099eea26a8101e2cc0dc3237d1250158b895 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 14 May 2012 13:50:46 +0200 Subject: QtQuick: Fix string related warnings, single character strings. - Fix warnings about truncation from size_t to int (MSVC 2010, 64bit). - Remove single character strings. Change-Id: Iaf4406e4e04d55d2d8b762f3433269868842a6f9 Reviewed-by: Roberto Raggi --- src/qml/qml/qqmlcompileddata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/qml/qqmlcompileddata.cpp') diff --git a/src/qml/qml/qqmlcompileddata.cpp b/src/qml/qml/qqmlcompileddata.cpp index 6a68784219..6e6da6ae0d 100644 --- a/src/qml/qml/qqmlcompileddata.cpp +++ b/src/qml/qml/qqmlcompileddata.cpp @@ -66,7 +66,7 @@ int QQmlCompiledData::pack(const char *data, size_t size) } int rv = packData.size(); - packData.append(data, size); + packData.append(data, int(size)); return rv; } -- cgit v1.2.3