diff options
author | Kevin Funk <kevin.funk@kdab.com> | 2012-08-28 17:13:42 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-30 06:22:34 +0200 |
commit | 7cea395d1f4b1e875cc14930e56a6ea2dea0c9a7 (patch) | |
tree | 15a22e5f6d4a49ea821fc24d28ffe313e24eac0b /tests/auto/corelib/io/qipaddress | |
parent | 42457c2f5fa4ee979e3e8faf89a46bac5b5093d1 (diff) |
Make tests/auto/corelib compile on Windows CE
Change-Id: I71987d40ae69d95f645c4c7d26d50add4c799327
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'tests/auto/corelib/io/qipaddress')
-rw-r--r-- | tests/auto/corelib/io/qipaddress/tst_qipaddress.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/io/qipaddress/tst_qipaddress.cpp b/tests/auto/corelib/io/qipaddress/tst_qipaddress.cpp index bad18fabef..536c8fb1a6 100644 --- a/tests/auto/corelib/io/qipaddress/tst_qipaddress.cpp +++ b/tests/auto/corelib/io/qipaddress/tst_qipaddress.cpp @@ -115,7 +115,7 @@ namespace QTest { ip6.u8[10] << 8 | ip6.u8[11], ip6.u8[12] << 8 | ip6.u8[13], ip6.u8[14] << 8 | ip6.u8[15]); - return strdup(buf); + return qstrdup(buf); } } QT_END_NAMESPACE |