[PATCH 1/9] hex-xcode: use notmuch_bool_t for boolean arguments

Subject: [PATCH 1/9] hex-xcode: use notmuch_bool_t for boolean arguments

Date: Tue, 19 Sep 2017 23:39:21 +0300

To: notmuch@notmuchmail.org

Cc:

From: Jani Nikula


Pedantically correct, although they're the same underlying type.
---
 test/hex-xcode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/hex-xcode.c b/test/hex-xcode.c
index 65d49564a3e1..28c22e06b69e 100644
--- a/test/hex-xcode.c
+++ b/test/hex-xcode.c
@@ -45,7 +45,7 @@ main (int argc, char **argv)
 {
 
     enum direction dir = DECODE;
-    int omit_newline = FALSE;
+    notmuch_bool_t omit_newline = FALSE;
 
     notmuch_opt_desc_t options[] = {
 	{ NOTMUCH_OPT_KEYWORD, &dir, "direction", 'd',
-- 
2.11.0

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: