fix for compiler warning

This commit is contained in:
john30
2017-01-22 14:38:39 +01:00
parent f7e04fb0b1
commit b5c6f930a4
+1 -1
View File
@@ -59,7 +59,7 @@ class Notify {
* write notify event to file descriptor.
* @return result of writing notification.
*/
int notify() const { return write(m_sendfd, "1", 1); }
ssize_t notify() const { return write(m_sendfd, "1", 1); }
private:
/** file descriptor to watch */