diff options
author | Pierre Ossman <ossman@cendio.se> | 2023-06-30 22:33:47 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-06-30 22:33:47 +0200 |
commit | 9ca100d4636733a84c92b0ee81c9d3bef11fdf91 (patch) | |
tree | b1d08053864582e5b2bad81e4cd5b1d5b795bf6c /common/rdr/FdOutStream.cxx | |
parent | 7b3fe6d283f917bff99a60e2bdc59c98c82b1dfa (diff) | |
parent | 94d6a693eac3401c50723ccc75aa11fc7017782d (diff) | |
download | tigervnc-9ca100d4636733a84c92b0ee81c9d3bef11fdf91.tar.gz tigervnc-9ca100d4636733a84c92b0ee81c9d3bef11fdf91.zip |
Merge branch 'types2' of https://github.com/CendioOssman/tigervnc
Diffstat (limited to 'common/rdr/FdOutStream.cxx')
-rw-r--r-- | common/rdr/FdOutStream.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rdr/FdOutStream.cxx b/common/rdr/FdOutStream.cxx index 68677726..6827655f 100644 --- a/common/rdr/FdOutStream.cxx +++ b/common/rdr/FdOutStream.cxx @@ -83,7 +83,7 @@ void FdOutStream::cork(bool enable) bool FdOutStream::flushBuffer() { - size_t n = writeFd((const void*) sentUpTo, ptr - sentUpTo); + size_t n = writeFd(sentUpTo, ptr - sentUpTo); if (n == 0) return false; @@ -101,7 +101,7 @@ bool FdOutStream::flushBuffer() // returning EINTR. // -size_t FdOutStream::writeFd(const void* data, size_t length) +size_t FdOutStream::writeFd(const uint8_t* data, size_t length) { int n; |