diff options
Diffstat (limited to 'xorg-server/os/connection.c')
-rw-r--r-- | xorg-server/os/connection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xorg-server/os/connection.c b/xorg-server/os/connection.c index 9fe171cb8..cc5a4d3f5 100644 --- a/xorg-server/os/connection.c +++ b/xorg-server/os/connection.c @@ -934,9 +934,9 @@ ErrorConnMax(XtransConnInfo trans_conn) if (((*(char *) &whichbyte) && (byteOrder == 'B')) || (!(*(char *) &whichbyte) && (byteOrder == 'l'))) { - swaps(&csp.majorVersion, whichbyte); - swaps(&csp.minorVersion, whichbyte); - swaps(&csp.length, whichbyte); + swaps(&csp.majorVersion); + swaps(&csp.minorVersion); + swaps(&csp.length); } iov[0].iov_len = sz_xConnSetupPrefix; iov[0].iov_base = (char *) &csp; |