hex-xcode: use notmuch_bool_t for boolean arguments
authorJani Nikula <jani@nikula.org>
Sun, 1 Oct 2017 20:53:17 +0000 (23:53 +0300)
committerDavid Bremner <david@tethera.net>
Thu, 5 Oct 2017 01:02:45 +0000 (22:02 -0300)
Pedantically correct, although they're the same underlying type.

test/hex-xcode.c

index bc2df713b2a3bec99ff49ad03f86e0c437ac7e23..221ccdb90843c8262b6c7ad8e91cd2e64437ed46 100644 (file)
@@ -45,7 +45,7 @@ main (int argc, char **argv)
 {
 
     int dir = DECODE;
-    int omit_newline = FALSE;
+    notmuch_bool_t omit_newline = FALSE;
 
     notmuch_opt_desc_t options[] = {
        { .opt_keyword = &dir, .name = "direction", .keywords =