Diffstat (limited to 'kmicromail/libetpan/generic/mhdriver_cached_message.c') (more/less context) (show whitespace changes)
-rw-r--r-- | kmicromail/libetpan/generic/mhdriver_cached_message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmicromail/libetpan/generic/mhdriver_cached_message.c b/kmicromail/libetpan/generic/mhdriver_cached_message.c index f716fb9..f69868d 100644 --- a/kmicromail/libetpan/generic/mhdriver_cached_message.c +++ b/kmicromail/libetpan/generic/mhdriver_cached_message.c | |||
@@ -180,6 +180,6 @@ static int mh_initialize(mailmessage * msg_info) | |||
180 | mh_msg_info = data.data; | 180 | mh_msg_info = data.data; |
181 | 181 | ||
182 | snprintf(static_uid, PATH_MAX, "%u-%lu-%u", msg_info->msg_index, | 182 | snprintf(static_uid, PATH_MAX, "%u-%lu-%lu", msg_info->msg_index, |
183 | mh_msg_info->msg_mtime, mh_msg_info->msg_size); | 183 | mh_msg_info->msg_mtime, (unsigned long) mh_msg_info->msg_size); |
184 | uid = strdup(static_uid); | 184 | uid = strdup(static_uid); |
185 | if (uid == NULL) | 185 | if (uid == NULL) |