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

tests: use static cast in timeout executor

parent 117a4562
No related branches found
No related tags found
1 merge request!179C casts to C++ casts redesign
......@@ -57,7 +57,7 @@ std::string readFromFD ( int fd ) {
}
 
void writeToFD ( int fd, const std::string & message, const std::string & errorDesc ) {
if ( write ( fd, message.c_str ( ), message.length ( ) ) != ( ssize_t ) message.length ( ) )
if ( write ( fd, message.c_str ( ), message.length ( ) ) != static_cast < ssize_t > ( message.length ( ) ) )
throw std::runtime_error ( "TimeoutAqlTest: write() to pipe failed (" + errorDesc + ")" );
}
 
......
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