* [PATCH] Fix a compile warning under gcc-4.4.1
@ 2009-11-18 19:43 Joshua Roys
2009-11-19 0:31 ` Carl Worth
0 siblings, 1 reply; 2+ messages in thread
From: Joshua Roys @ 2009-11-18 19:43 UTC (permalink / raw)
To: notmuch
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 831 bytes --]
---
Hello,
This fixes the following for me:
notmuch-reply.c: In function ‘address_is_users’:
notmuch-reply.c:87: warning: passing argument 2 of ‘notmuch_config_get_user_other_email’ from incompatible pointer type
notmuch-client.h:174: note: expected ‘size_t *’ but argument is of type ‘unsigned int *’
notmuch-reply.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/notmuch-reply.c b/notmuch-reply.c
index 4a4a782..344b6e3 100644
--- a/notmuch-reply.c
+++ b/notmuch-reply.c
@@ -78,7 +78,7 @@ address_is_users (const char *address, notmuch_config_t *config)
{
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)
--
1.6.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix a compile warning under gcc-4.4.1
2009-11-18 19:43 [PATCH] Fix a compile warning under gcc-4.4.1 Joshua Roys
@ 2009-11-19 0:31 ` Carl Worth
0 siblings, 0 replies; 2+ messages in thread
From: Carl Worth @ 2009-11-19 0:31 UTC (permalink / raw)
To: Joshua Roys, notmuch
On Wed, 18 Nov 2009 14:43:22 -0500, Joshua Roys <roysjosh@gmail.com> wrote:
> ---
> Hello,
> This fixes the following for me:
Thanks so much for the report and patch, Joshua.
This bug was recently fixed in a commit pushed out to the notmuch
repository.
Happy hacking,
-Carl
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-19 0:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18 19:43 [PATCH] Fix a compile warning under gcc-4.4.1 Joshua Roys
2009-11-19 0:31 ` Carl Worth
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).