From 6881c895ab317bd302addac5f228b7367136017f Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Sat, 10 Sep 2022 13:19:41 +0200 Subject: Use stdint types Avoid having our own custom stuff and instead use the modern, standard types, for familiarity. --- common/rdr/TLSInStream.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/rdr/TLSInStream.cxx') diff --git a/common/rdr/TLSInStream.cxx b/common/rdr/TLSInStream.cxx index aa552e86..f62d6d87 100644 --- a/common/rdr/TLSInStream.cxx +++ b/common/rdr/TLSInStream.cxx @@ -90,7 +90,7 @@ TLSInStream::~TLSInStream() bool TLSInStream::fillBuffer() { - size_t n = readTLS((U8*) end, availSpace()); + size_t n = readTLS((uint8_t*) end, availSpace()); if (n == 0) return false; end += n; @@ -98,7 +98,7 @@ bool TLSInStream::fillBuffer() return true; } -size_t TLSInStream::readTLS(U8* buf, size_t len) +size_t TLSInStream::readTLS(uint8_t* buf, size_t len) { int n; -- cgit v1.2.3