Commit | Line | Data |
---|---|---|
497b2d39 MB |
1 | Fix a string comparison in C++ 11. |
2 | ||
3 | Taken from Debian: | |
4 | https://sources.debian.org/src/dbus-c++/0.9.0-8.1/debian/patches/06_fix_gcc-7_ftbfs.patch/ | |
5 | ||
6 | --- a/src/pipe.cpp | |
7 | +++ b/src/pipe.cpp | |
8 | @@ -83,5 +83,5 @@ ssize_t Pipe::read(void *buffer, unsigne | |
9 | void Pipe::signal() | |
10 | { | |
11 | // TODO: ignoring return of read/write generates warning; maybe relevant for eventloop work... | |
12 | - ::write(_fd_write, '\0', 1); | |
13 | + ::write(_fd_write, "\0", 1); | |
14 | } |