Files
pkgsrc-ng/mail/elmo/patches/patch-ae
2013-09-26 17:14:40 +02:00

23 lines
727 B
Plaintext

$NetBSD: patch-ae,v 1.1 2008/08/31 20:09:12 dholland Exp $
--- src/maildir.c~ 2004-08-13 07:18:22.000000000 -0400
+++ src/maildir.c 2008-08-31 15:32:34.000000000 -0400
@@ -347,7 +347,7 @@ reset_array (struct dirent **list, int c
for (i = 0; i < count; i++){
htable_insert (file_table, list[i]->d_name,
- (void *) (i + base));
+ (void *)(intptr_t) (i + base));
}
}
@@ -369,7 +369,7 @@ is_in_array (mail_t *mail)
if (entry == NULL)
return 0;
- index = (int) entry->content;
+ index = (int)(intptr_t) entry->content;
bitarray_set (common_messages, index);
return 1;
}