aboutsummaryrefslogtreecommitdiff
path: root/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notify.c b/notify.c
index e8688180..e454b03b 100644
--- a/notify.c
+++ b/notify.c
@@ -114,7 +114,7 @@ consume_stdout(struct notification *notif, bool eof)
while (left > 0) {
line = data;
size_t len = left;
- char *eol = memchr(line, '\n', left);
+ char *eol = (char *)memchr(line, '\n', left);
if (eol != NULL) {
*eol = '\0';