]> git.notmuchmail.org Git - notmuch/commitdiff
reply: Pointer mismatch.
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 18 Nov 2009 11:34:55 +0000 (11:34 +0000)
committerCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 23:20:24 +0000 (00:20 +0100)
Apparently typeof (size_t) != unsigned int on my x86-64.

notmuch-reply.c

index 31e2c87cfe07651dec79d7c5fdc3286c0d865e61..e4de4743ec1a03227242da8f99cd50861c93ad44 100644 (file)
@@ -78,7 +78,7 @@ address_is_users (const char *address, notmuch_config_t *config)
 {
     const char *primary;
     char **other;
 {
     const char *primary;
     char **other;
-    unsigned int i, other_len;
+    size_t i, other_len;
 
     primary = notmuch_config_get_user_primary_email (config);
     if (strcmp (primary, address) == 0)
 
     primary = notmuch_config_get_user_primary_email (config);
     if (strcmp (primary, address) == 0)