1 Return-Path: <jani@nikula.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id C74A8431FAF
\r
6 for <notmuch@notmuchmail.org>; Sun, 15 Apr 2012 14:06:04 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id Lotpo0hafFX1 for <notmuch@notmuchmail.org>;
\r
16 Sun, 15 Apr 2012 14:06:04 -0700 (PDT)
\r
17 Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com
\r
18 [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id B289D431FAE
\r
21 for <notmuch@notmuchmail.org>; Sun, 15 Apr 2012 14:06:03 -0700 (PDT)
\r
22 Received: by lbdb5 with SMTP id b5so603142lbd.26
\r
23 for <notmuch@notmuchmail.org>; Sun, 15 Apr 2012 14:06:02 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=google.com; s=20120113;
\r
26 h=from:to:cc:subject:in-reply-to:references:date:message-id
\r
27 :mime-version:content-type:x-gm-message-state;
\r
28 bh=643sXsUpn03EVD9qiFkVQNYo+ddDnwzgzCFiCDn0rqI=;
\r
29 b=hkphcYoRI0Dv0+6pAZSOv/fGMgio7t/4MXL3zHqHoxUUKpkVG9S1NdxqylXLcuWRFD
\r
30 pY5UzwrlkHq+veueC3YgYxhdvMhqCyhwuOifkcRWYyczWGtB2DsWeIfbLD55599c+l9q
\r
31 D0sgpn/QqDE8xh1djbte89YlNluTth6XgKYoYEg4IxUL8kiAGTUJ4I2rjx8yvtYuVq55
\r
32 2wb8PQhlKg1Ii0WM9kAz0Nsa/qyz4ASkotuym3WJEfxCHSKT9y1NZA6y6SS0XMLiLvOo
\r
33 +iGtpuojk4LAz386+L5BTE7ua6MCZXlWgiowVUSDUyW5aDnuYd7s73V1aZu/v/2wj4nF
\r
35 Received: by 10.152.128.137 with SMTP id no9mr7815927lab.2.1334523962127;
\r
36 Sun, 15 Apr 2012 14:06:02 -0700 (PDT)
\r
37 Received: from localhost (dsl-hkibrasgw4-fe50dc00-68.dhcp.inet.fi.
\r
39 by mx.google.com with ESMTPS id j6sm21791833lbm.1.2012.04.15.14.05.59
\r
40 (version=SSLv3 cipher=OTHER); Sun, 15 Apr 2012 14:06:00 -0700 (PDT)
\r
41 From: Jani Nikula <jani@nikula.org>
\r
42 To: Vladimir.Marek@oracle.com, notmuch@notmuchmail.org
\r
43 Subject: Re: [PATCH 4/4] Explicitly type void* pointers
\r
44 In-Reply-To: <1333966665-10469-5-git-send-email-Vladimir.Marek@oracle.com>
\r
45 References: <1333966665-10469-1-git-send-email-Vladimir.Marek@oracle.com>
\r
46 <1333966665-10469-5-git-send-email-Vladimir.Marek@oracle.com>User-Agent:
\r
47 Notmuch/0.12+81~g839a805 (http://notmuchmail.org) Emacs/23.3.1
\r
49 Date: Mon, 16 Apr 2012 00:05:58 +0300
\r
50 Message-ID: <87lilwk8nd.fsf@nikula.org>
\r
52 Content-Type: text/plain; charset=us-ascii
\r
54 ALoCoQnPrayHBho5/JmIcwxA4TPB62A0fD94gLCZXClzG1VoG3Du+kvE4FgasXWV5FaqBFDk4eYy
\r
55 Cc: Vladimir Marek <vlmarek@volny.cz>
\r
56 X-BeenThere: notmuch@notmuchmail.org
\r
57 X-Mailman-Version: 2.1.13
\r
59 List-Id: "Use and development of the notmuch mail system."
\r
60 <notmuch.notmuchmail.org>
\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
64 List-Post: <mailto:notmuch@notmuchmail.org>
\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
68 X-List-Received-Date: Sun, 15 Apr 2012 21:06:04 -0000
\r
71 I tagged this patch notmuch::obsolete (see [1]) as the template
\r
72 workaround was pushed to master (commit
\r
73 de0557477d908be26615e8fda9f5eb62bed68b65).
\r
78 [1] http://nmbug.tethera.net/status/
\r
81 On Mon, 09 Apr 2012, Vladimir.Marek@oracle.com wrote:
\r
82 > From: Vladimir Marek <vlmarek@volny.cz>
\r
85 > Signed-off-by: Vladimir Marek <vlmarek@volny.cz>
\r
87 > lib/database.cc | 2 +-
\r
88 > lib/message.cc | 2 +-
\r
89 > lib/thread.cc | 2 +-
\r
90 > 3 files changed, 3 insertions(+), 3 deletions(-)
\r
92 > diff --git a/lib/database.cc b/lib/database.cc
\r
93 > index 16c4354..3c82632 100644
\r
94 > --- a/lib/database.cc
\r
95 > +++ b/lib/database.cc
\r
96 > @@ -1361,7 +1361,7 @@ _resolve_message_id_to_thread_id (notmuch_database_t *notmuch,
\r
100 > - *thread_id_ret = talloc_steal (ctx,
\r
101 > + *thread_id_ret = (const char*)talloc_steal (ctx,
\r
102 > notmuch_message_get_thread_id (message));
\r
104 > notmuch_message_destroy (message);
\r
105 > diff --git a/lib/message.cc b/lib/message.cc
\r
106 > index 0075425..d56d442 100644
\r
107 > --- a/lib/message.cc
\r
108 > +++ b/lib/message.cc
\r
109 > @@ -220,7 +220,7 @@ _notmuch_message_create_for_message_id (notmuch_database_t *notmuch,
\r
113 > - return talloc_steal (notmuch, message);
\r
114 > + return (notmuch_message_t*) talloc_steal (notmuch, message);
\r
115 > else if (*status_ret)
\r
118 > diff --git a/lib/thread.cc b/lib/thread.cc
\r
119 > index e976d64..d41ff3e 100644
\r
120 > --- a/lib/thread.cc
\r
121 > +++ b/lib/thread.cc
\r
122 > @@ -225,7 +225,7 @@ _thread_add_message (notmuch_thread_t *thread,
\r
123 > char *clean_author;
\r
125 > _notmuch_message_list_add_message (thread->message_list,
\r
126 > - talloc_steal (thread, message));
\r
127 > + (_notmuch_message*)talloc_steal (thread, message));
\r
128 > thread->total_messages++;
\r
130 > g_hash_table_insert (thread->message_hash,
\r
134 > _______________________________________________
\r
135 > notmuch mailing list
\r
136 > notmuch@notmuchmail.org
\r
137 > http://notmuchmail.org/mailman/listinfo/notmuch
\r