diff options
author | Sebastian Spaeth <sebastian@sspaeth.de> | 2010-03-24 11:45:31 +0100 |
---|---|---|
committer | Sebastian Spaeth <sebastian@sspaeth.de> | 2010-03-24 11:45:31 +0100 |
commit | 6efd3c82014e5f121139f89f29267714cb9c9f59 (patch) | |
tree | bd4f2e62924195d11baae633b63d6e6e50a3b069 | |
parent | 898341f7f7412bc1fd405b1b9778f84780ac15c5 (diff) |
time_t is a signed int, not an unsigned one...
-rw-r--r-- | cnotmuch/message.py | 4 | ||||
-rw-r--r-- | cnotmuch/thread.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cnotmuch/message.py b/cnotmuch/message.py index d1498f0..e8b2447 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_int64 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_int64 _get_header = nmlib.notmuch_message_get_header _get_header.restype = c_char_p diff --git a/cnotmuch/thread.py b/cnotmuch/thread.py index 0eb643e..97b58b6 100644 --- a/cnotmuch/thread.py +++ b/cnotmuch/thread.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_int64 from cnotmuch.globals import nmlib, STATUS, NotmuchError from cnotmuch.message import Messages from cnotmuch.tag import Tags @@ -150,10 +150,10 @@ class Thread(object): _get_toplevel_messages.restype = c_void_p _get_newest_date = nmlib.notmuch_thread_get_newest_date - _get_newest_date.restype = c_uint64 + _get_newest_date.restype = c_int64 _get_oldest_date = nmlib.notmuch_thread_get_oldest_date - _get_oldest_date.restype = c_uint64 + _get_oldest_date.restype = c_int64 """notmuch_thread_get_tags""" _get_tags = nmlib.notmuch_thread_get_tags |