summarylogtreecommitdiffstats
path: root/port-to-gcc-7.patch
blob: d44425a07f12a53ad3544c9e15d4d8d8b1778e72 (plain)
1
2
3
4
5
6
7
8
9
--- a/src/pipe.cpp
+++ b/src/pipe.cpp
@@ -83,5 +83,5 @@
 void Pipe::signal()
 {
   // TODO: ignoring return of read/write generates warning; maybe relevant for eventloop work...
-  ::write(_fd_write, '\0', 1);
+  ::write(_fd_write, nullptr, 1);
 }