diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2012-09-28 16:16:36 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-29 08:12:32 +0200 |
commit | d65dbb5d508d4cdbc383686428430035c205b21c (patch) | |
tree | 35457ae8b8cb93fdae295ac28c78d221091b98d9 /src/network/access | |
parent | 66e7e69f00a08664f0c0a6ed62a37a6918eaf8f3 (diff) | |
download | qt4-tools-d65dbb5d508d4cdbc383686428430035c205b21c.tar.gz |
Fix g++/MinGW compiler warnings.
- Assigned/Unused variables.
- Unsigned comparison >= 0 is always true.
- Constructor initialization order.
- Signed/Unsigned comparisons.
Change-Id: I1f9edab0506573420ed0bf3055252ba48625c8eb
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/network/access')
-rw-r--r-- | src/network/access/qftp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qftp.cpp b/src/network/access/qftp.cpp index db2969a864..0e8b0ebd0c 100644 --- a/src/network/access/qftp.cpp +++ b/src/network/access/qftp.cpp @@ -551,7 +551,7 @@ static void _q_parseUnixDir(const QStringList &tokens, const QString &userName, } if (dateTime.isValid()) info->setLastModified(dateTime); - else if (dateString.startsWith("Feb 29")) { + else if (dateString.startsWith(QLatin1String("Feb 29"))) { // When the current year on the FTP server is a leap year and a // file's last modified date is Feb 29th, and the current day on |