X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=message.cc;h=0efa470adcf149071ad8943f4619f9d28d4236d3;hp=8ca8fdee1871b0f10f7700477e1e3da76f0553b4;hb=c58ee818b5e116d00172c8406149106c97c2e377;hpb=8ad4350fef132b016bbab5eeb1c4a713e51035c6 diff --git a/message.cc b/message.cc index 8ca8fdee..0efa470a 100644 --- a/message.cc +++ b/message.cc @@ -104,13 +104,13 @@ _notmuch_message_destructor (notmuch_message_t *message) } notmuch_message_t * -_notmuch_message_create (notmuch_results_t *owner, +_notmuch_message_create (const void *talloc_owner, notmuch_database_t *notmuch, - Xapian::docid doc_id) + unsigned int doc_id) { notmuch_message_t *message; - message = talloc (owner, notmuch_message_t); + message = talloc (talloc_owner, notmuch_message_t); if (unlikely (message == NULL)) return NULL;