summaryrefslogtreecommitdiffstats
path: root/libvncclient/corre.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvncclient/corre.c')
-rw-r--r--libvncclient/corre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/corre.c b/libvncclient/corre.c
index d6d3d0d..d7f2fe6 100644
--- a/libvncclient/corre.c
+++ b/libvncclient/corre.c
@@ -41,7 +41,7 @@ HandleCoRREBPP (rfbClient* client, int rx, int ry, int rw, int rh)
if (!ReadFromRFBServer(client, (char *)&hdr, sz_rfbRREHeader))
return FALSE;
- hdr.nSubrects = Swap32IfLE(hdr.nSubrects);
+ hdr.nSubrects = rfbClientSwap32IfLE(hdr.nSubrects);
if (!ReadFromRFBServer(client, (char *)&pix, sizeof(pix)))
return FALSE;
OpenPOWER on IntegriCloud