diff options
author | Daniel Cohen Gindi <danielgindi@gmail.com> | 2014-08-29 11:00:16 +0300 |
---|---|---|
committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2014-09-02 16:43:17 +0200 |
commit | dfdb11144afc3ef1ea32f0300696471767d640d6 (patch) | |
tree | b44b08393bc7486573a54811d7951deb14d1fc93 /libvncclient/zrle.c | |
parent | e26aeb4062ed410e76d3230aed0940a8d0945c07 (diff) | |
download | libtdevnc-dfdb11144afc3ef1ea32f0300696471767d640d6.tar.gz libtdevnc-dfdb11144afc3ef1ea32f0300696471767d640d6.zip |
Perform pointer arithmetic on char * instead of void *
Microsoft Visual C++ does not allow pointer arithmetic on void pointers.
[JES: fixed commit message]
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'libvncclient/zrle.c')
-rw-r--r-- | libvncclient/zrle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/zrle.c b/libvncclient/zrle.c index a14ad44..7f488b5 100644 --- a/libvncclient/zrle.c +++ b/libvncclient/zrle.c @@ -189,7 +189,7 @@ HandleZRLE (rfbClient* client, int rx, int ry, int rw, int rh) } /* while ( remaining > 0 ) */ if ( inflateResult == Z_OK ) { - void* buf=client->raw_buffer; + char* buf=client->raw_buffer; int i,j; remaining = client->raw_buffer_size-client->decompStream.avail_out; |