projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aa22c5
)
memset also needs to have the right type.
author
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 10 Oct 2013 22:53:35 +0000
(
00:53
+0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 10 Oct 2013 22:58:19 +0000
(
00:58
+0200)
citadel/modules/imap/serv_imap.c
patch
|
blob
|
history
diff --git
a/citadel/modules/imap/serv_imap.c
b/citadel/modules/imap/serv_imap.c
index 7fb85e7f7124f563b8b53eb514d64eefb8cfc3a3..6b69a9bdc9d897171ed394d99146e4521ba14ac9 100644
(file)
--- a/
citadel/modules/imap/serv_imap.c
+++ b/
citadel/modules/imap/serv_imap.c
@@
-329,7
+329,7
@@
void imap_load_msgids(void)
if (Imap->num_msgs) {
Imap->flags = malloc(Imap->num_alloc * sizeof(unsigned int));
- memset(Imap->flags, 0, (Imap->num_alloc * sizeof(
long
)) );
+ memset(Imap->flags, 0, (Imap->num_alloc * sizeof(
unsigned int
)) );
}
imap_set_seen_flags(0);