[Libreoffice-commits] .: sal/qa

David Tardon dtardon at kemper.freedesktop.org
Mon Feb 7 05:13:36 PST 2011


 sal/qa/rtl/strings/test_oustring_endswith.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a4beacaec3e3a5e96c3d50430c76693baf829456
Author: David Tardon <dtardon at redhat.com>
Date:   Mon Feb 7 14:13:22 2011 +0100

    WaE: comparison between signed and unsigned integer

diff --git a/sal/qa/rtl/strings/test_oustring_endswith.cxx b/sal/qa/rtl/strings/test_oustring_endswith.cxx
index fcf07e5..b4eee10 100644
--- a/sal/qa/rtl/strings/test_oustring_endswith.cxx
+++ b/sal/qa/rtl/strings/test_oustring_endswith.cxx
@@ -107,7 +107,7 @@ void test::oustring::EndsWith::endsWith()
           RTL_CONSTASCII_STRINGPARAM("b\0c"), true },
         { RTL_CONSTASCII_STRINGPARAM("a\0b\0c"),
           RTL_CONSTASCII_STRINGPARAM("b"), false } };
-    for (int i = 0; i < SAL_N_ELEMENTS(data); ++i) {
+    for (size_t i = 0; i < SAL_N_ELEMENTS(data); ++i) {
         rtl::OStringBuffer msg;
         appendString(msg, rtl::OString(data[i].str1, data[i].str1Len));
         msg.append(


More information about the Libreoffice-commits mailing list