[X2Go-Commits] [libx2goclient] 114/132: src/x2goclient-openssh-version.h: make version component valid structure entries unsigned.

git-admin at x2go.org git-admin at x2go.org
Fri Dec 3 15:26:36 CET 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository libx2goclient.

commit b915ebf510929b033742123e1ecb1e65a42b16a4
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Oct 30 19:11:11 2021 +0200

    src/x2goclient-openssh-version.h: make version component valid structure entries unsigned.
    
    They are only supposed to be one bit in size, but semantically it makes
    sense to call them unsigned.
---
 src/x2goclient-openssh-version.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/x2goclient-openssh-version.h b/src/x2goclient-openssh-version.h
index 9a37881..082171b 100644
--- a/src/x2goclient-openssh-version.h
+++ b/src/x2goclient-openssh-version.h
@@ -32,9 +32,9 @@
 G_BEGIN_DECLS
 
 typedef struct X2GoClientOpenSSHVersion_ {
-  int minor_valid:1;
-  int major_valid:1;
-  int patch_valid:1;
+  unsigned int minor_valid:1;
+  unsigned int major_valid:1;
+  unsigned int patch_valid:1;
   guint32 major;
   guint32 minor;
   guint32 patch;

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git


More information about the x2go-commits mailing list