Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id DBF92431FBC for ; Wed, 18 Nov 2009 11:43:26 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FkEICRHpxRlg for ; Wed, 18 Nov 2009 11:43:26 -0800 (PST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by olra.theworths.org (Postfix) with ESMTP id 53D7C431FAE for ; Wed, 18 Nov 2009 11:43:26 -0800 (PST) Received: from sis-JRR.stl.gtri.gatech.edu (sis-JRR.stl.gtri.gatech.edu [130.207.197.190]) by mx.perfora.net (node=mxus2) with ESMTP (Nemesis) id 0LmJ46-1NkjDb2CxO-00a2L0 for notmuch@notmuchmail.org; Wed, 18 Nov 2009 14:43:25 -0500 Received: from sis-JRR.stl.gtri.gatech.edu (sis-JRR.stl.gtri.gatech.edu [127.0.0.1]) by sis-JRR.stl.gtri.gatech.edu (8.14.3/8.14.3) with ESMTP id nAIJhN0a017220; Wed, 18 Nov 2009 14:43:23 -0500 Received: (from jroys3@localhost) by sis-JRR.stl.gtri.gatech.edu (8.14.3/8.14.3/Submit) id nAIJhMC9017215; Wed, 18 Nov 2009 14:43:22 -0500 From: Joshua Roys To: notmuch@notmuchmail.org Date: Wed, 18 Nov 2009 14:43:22 -0500 Message-Id: <1258573402-16750-1-git-send-email-roysjosh@gmail.com> X-Mailer: git-send-email 1.6.2.5 Subject: [notmuch] [PATCH] Fix a compile warning under gcc-4.4.1 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 19:43:27 -0000 --- 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