[X2Go-Commits] [x2goclient] 01/47: onmainwindow.cpp: silence compiler warning by casting an int value to std::size_t.
git-admin at x2go.org
git-admin at x2go.org
Thu Jun 4 01:46:25 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch bugfix/osx
in repository x2goclient.
commit 6f1bbb158630c750de7a214f14f3a907d20d6368
Author: Mihai Moldovan <ionic at ionic.de>
Date: Thu Jun 4 00:38:02 2015 +0200
onmainwindow.cpp: silence compiler warning by casting an int value to std::size_t.
---
debian/changelog | 2 ++
src/onmainwindow.cpp | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index bfdd3d1..41f4450 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -41,6 +41,8 @@ x2goclient (4.0.4.1-0x2go1) UNRELEASED; urgency=low
Kerberos/GSSApi when running the xmodmap keyboard sync command on OS X.
- onmainwindow.cpp: also escape other shell quotes when using
Kerberos/GSSApi.
+ - onmainwindow.cpp: silence compiler warning by casting an int value to
+ std::size_t.
-- X2Go Release Manager <git-admin at x2go.org> Tue, 26 May 2015 21:42:09 +0200
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 931a598..ddc9e40 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -8470,7 +8470,7 @@ void ONMainWindow::slotScDaemonError (QProcess::ProcessError error) {
QString path_val = tmp_env.value ("PATH", "unknown");
/* Add a newline every 100 characters. */
- for (std::size_t i = 100; i < path_val.size (); i += 100) {
+ for (std::size_t i = 100; i < static_cast<std::size_t> (path_val.size ()); i += 100) {
path_val.insert (i, "\n");
}
--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list