fix for compiler warning
This commit is contained in:
@@ -59,7 +59,7 @@ class Notify {
|
|||||||
* write notify event to file descriptor.
|
* write notify event to file descriptor.
|
||||||
* @return result of writing notification.
|
* @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:
|
private:
|
||||||
/** file descriptor to watch */
|
/** file descriptor to watch */
|
||||||
|
|||||||
Reference in New Issue
Block a user