Skip to content
Snippets Groups Projects
Commit 1e78b29b authored by Jan Trávníček's avatar Jan Trávníček
Browse files

tests: fix clang-tidy pointed out type incompatibility

parent 270622cc
No related branches found
No related tags found
Loading
...@@ -47,7 +47,7 @@ std::string readFromFD ( int fd ) { ...@@ -47,7 +47,7 @@ std::string readFromFD ( int fd ) {
static const size_t BUFSIZE = 64; static const size_t BUFSIZE = 64;
   
std::string res; std::string res;
int rd; ssize_t rd;
std::array < char, BUFSIZE > buf; std::array < char, BUFSIZE > buf;
   
while ( ( rd = read ( fd, buf.data ( ), buf.size ( ) - 1 ) ) > 0 ) { while ( ( rd = read ( fd, buf.data ( ), buf.size ( ) - 1 ) ) > 0 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment