]> git.proxmox.com Git - qemu.git/blobdiff - ui/vnc-auth-sasl.h
vnc: Fix packed boolean struct members
[qemu.git] / ui / vnc-auth-sasl.h
index fd9b18a8fed620e80b37c85ba9c871bb671f8b72..ee243a9d64c5934067aa1480fc4031120914b876 100644 (file)
@@ -37,9 +37,9 @@ typedef struct VncDisplaySASL VncDisplaySASL;
 struct VncStateSASL {
     sasl_conn_t *conn;
     /* If we want to negotiate an SSF layer with client */
-    int wantSSF :1;
+    bool wantSSF;
     /* If we are now running the SSF layer */
-    int runSSF :1;
+    bool runSSF;
     /*
      * If this is non-zero, then wait for that many bytes
      * to be written plain, before switching to SSF encoding