From b5c6f930a4723376c079e5d1e7d7759b292b242d Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 22 Jan 2017 14:38:39 +0100 Subject: [PATCH] fix for compiler warning --- src/lib/utils/notify.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils/notify.h b/src/lib/utils/notify.h index 814fcdc6..12b1eb40 100644 --- a/src/lib/utils/notify.h +++ b/src/lib/utils/notify.h @@ -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 */