X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=cnotmuch%2Fmessage.py;h=3ff3e7f158fab4c66951d1ac42c718747df026b5;hb=f55c9af9abc7782f7bb5c5fb4e91732b18919da7;hp=d1498f0d86adf27e989d8560f9247a3361eef80c;hpb=898341f7f7412bc1fd405b1b9778f84780ac15c5;p=notmuch diff --git a/cnotmuch/message.py b/cnotmuch/message.py index d1498f0d..3ff3e7f1 100644 --- a/cnotmuch/message.py +++ b/cnotmuch/message.py @@ -1,4 +1,4 @@ -from ctypes import c_char_p, c_void_p, c_uint64 +from ctypes import c_char_p, c_void_p, c_long from datetime import date from cnotmuch.globals import nmlib, STATUS, NotmuchError from cnotmuch.tag import Tags @@ -183,7 +183,7 @@ class Message(object): _get_tags.restype = c_void_p _get_date = nmlib.notmuch_message_get_date - _get_date.restype = c_uint64 + _get_date.restype = c_long _get_header = nmlib.notmuch_message_get_header _get_header.restype = c_char_p