From 38b301de106309fe808cff2f8a16d718589b9f69 Mon Sep 17 00:00:00 2001 From: Tae Won Ha Date: Tue, 3 Jan 2017 10:04:27 +0100 Subject: [PATCH] GH-376 Cast to bool --- NeoVimServer/server_ui.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NeoVimServer/server_ui.m b/NeoVimServer/server_ui.m index d4cc9b51..fba4929a 100644 --- a/NeoVimServer/server_ui.m +++ b/NeoVimServer/server_ui.m @@ -772,8 +772,8 @@ static NeoVimBuffer *buffer_for(buf_T *buf) { NeoVimBuffer *buffer = [[NeoVimBuffer alloc] initWithHandle:buf->handle unescapedPath:fileName - dirty:buf->b_changed - readOnly:buf->b_p_ro + dirty:(bool) buf->b_changed + readOnly:(bool) buf->b_p_ro current:current]; return [buffer autorelease];