diff options
author | dscho <dscho> | 2003-10-08 20:23:52 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-10-08 20:23:52 +0000 |
commit | d117c4b5640990ac4a6b37da69930c2c2164ee74 (patch) | |
tree | 7a863fb7936199c17c43dfb34256b3aba76070e8 | |
parent | d02db5cac45f50f1c3f13f9ffaeb402ca64c78e9 (diff) | |
download | libtdevnc-d117c4b5640990ac4a6b37da69930c2c2164ee74.tar.gz libtdevnc-d117c4b5640990ac4a6b37da69930c2c2164ee74.zip |
fix gcc 2.x compilation: no C99
-rw-r--r-- | zrle.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,13 +29,13 @@ #define GET_IMAGE_INTO_BUF(tx,ty,tw,th,buf) \ - char *fbptr = (cl->screen->frameBuffer \ +{ char *fbptr = (cl->screen->frameBuffer \ + (cl->screen->paddedWidthInBytes * ty) \ + (tx * (cl->screen->bitsPerPixel / 8))); \ \ (*cl->translateFn)(cl->translateLookupTable, &cl->screen->rfbServerFormat,\ &cl->format, fbptr, (char*)buf, \ - cl->screen->paddedWidthInBytes, tw, th); + cl->screen->paddedWidthInBytes, tw, th); } #define EXTRA_ARGS , rfbClientPtr cl |