projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d86d9c0
)
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:53:35 +0000
(
00:53
+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 5a1e6aaea706d6fe8b60d2a8a9768346df964db6..168c7e71a23bbaa6c2e138c0a13b7d4909d3bd3e 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);