[X2Go-Commits] [x2goclient] 204/281: src/onmainwindow.cpp: add another pair of braces to in_addr-type variable initialization on Windows to silence compiler warning.
git-admin at x2go.org
git-admin at x2go.org
Thu Jan 19 13:05:52 CET 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch bugfix/osx
in repository x2goclient.
commit 79e4720bbb78ae7cd9890d7fb465944993217b99
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon Jul 4 05:40:33 2016 +0200
src/onmainwindow.cpp: add another pair of braces to in_addr-type variable initialization on Windows to silence compiler warning.
---
debian/changelog | 2 ++
src/onmainwindow.cpp | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index f4f93e6..7511f03 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -373,6 +373,8 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
initialization in Windows-only code.
- src/onmainwindow.cpp: drop obsolete pulseVersionIsLegacy variable
initialization in Windows-only code.
+ - src/onmainwindow.cpp: add another pair of braces to in_addr-type
+ variable initialization on Windows to silence compiler warning.
[ Bernard Cafarelli ]
* New upstream version (4.0.5.3):
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 73d1141..3079ac8 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -9862,7 +9862,7 @@ bool ONMainWindow::isServerRunning ( int port )
int iResult;
WSADATA wsaData;
- struct in_addr addr = { 0 };
+ struct in_addr addr = {{ 0 }};
iResult = WSAStartup(MAKEWORD(2, 2), &wsaData);
if (iResult != 0)
--
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