diff options
author | dscho <dscho> | 2003-02-09 15:04:00 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-02-09 15:04:00 +0000 |
commit | 5030d53ff08665d27e388244aa22b272716240bc (patch) | |
tree | 64aa4ced924efed1e8c66579fce4e93ef97499d6 /zrle.cxx | |
parent | f86f9cec24a85bff17b4635f09c00513a2c356c3 (diff) | |
download | libtdevnc-5030d53ff08665d27e388244aa22b272716240bc.tar.gz libtdevnc-5030d53ff08665d27e388244aa22b272716240bc.zip |
converted CARD{8,16,32} to uint{8,16,32}_t and included support for stdint.h
Diffstat (limited to 'zrle.cxx')
-rw-r--r-- | zrle.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -23,7 +23,6 @@ // Routines to implement Zlib Run-length Encoding (ZRLE). // -#include <stdio.h> extern "C" { #include "rfb.h" } @@ -158,7 +157,7 @@ Bool rfbSendRectEncodingZRLE(rfbClientPtr cl, int x, int y, int w, int h) bytesToCopy = mos.length() - i; } - memcpy(cl->updateBuf+cl->ublen, (CARD8*)mos.data() + i, bytesToCopy); + memcpy(cl->updateBuf+cl->ublen, (uint8_t*)mos.data() + i, bytesToCopy); cl->ublen += bytesToCopy; i += bytesToCopy; |