summaryrefslogtreecommitdiff
path: root/message.cc
diff options
context:
space:
mode:
Diffstat (limited to 'message.cc')
-rw-r--r--message.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/message.cc b/message.cc
index 8ca8fde..0efa470 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;