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

Jani Nikula jani at nikula.org
Tue Sep 19 13:39:21 PDT 2017


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



More information about the notmuch mailing list