aboutsummaryrefslogtreecommitdiffstats
path: root/report.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2009-01-14 01:56:15 +0000
committerMatthias Andree <matthias.andree@gmx.de>2009-01-14 01:56:15 +0000
commitaf7d73c7ab76ad81fed78b7f5c024daf1af87d9d (patch)
tree9edb72176a3491b5d10e48b9570aca071fdba731 /report.c
parenta804c2b676aa9629bea657e78d5e6803b85228cc (diff)
downloadfetchmail-af7d73c7ab76ad81fed78b7f5c024daf1af87d9d.tar.gz
fetchmail-af7d73c7ab76ad81fed78b7f5c024daf1af87d9d.tar.bz2
fetchmail-af7d73c7ab76ad81fed78b7f5c024daf1af87d9d.zip
Fix a few compiler warnings around implicit conversion or extra ";".
svn path=/branches/BRANCH_6-3/; revision=5261
Diffstat (limited to 'report.c')
-rw-r--r--report.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/report.c b/report.c
index 320e60be..17bd8f94 100644
--- a/report.c
+++ b/report.c
@@ -211,13 +211,13 @@ static void rep_ensuresize(void) {
{
partial_message_size_used = 0;
partial_message_size = 2048;
- partial_message = MALLOC (partial_message_size);
+ partial_message = (char *)MALLOC (partial_message_size);
}
else
if (partial_message_size - partial_message_size_used < 1024)
{
partial_message_size += 2048;
- partial_message = REALLOC (partial_message, partial_message_size);
+ partial_message = (char *)REALLOC (partial_message, partial_message_size);
}
}
@@ -258,7 +258,7 @@ report_build (FILE *errfp, message, va_alist)
}
partial_message_size += 2048;
- partial_message = REALLOC (partial_message, partial_message_size);
+ partial_message = (char *)REALLOC (partial_message, partial_message_size);
}
#else
for ( ; ; )
@@ -326,7 +326,7 @@ report_complete (FILE *errfp, message, va_alist)
}
partial_message_size += 2048;
- partial_message = REALLOC (partial_message, partial_message_size);
+ partial_message = (char *)REALLOC (partial_message, partial_message_size);
}
#else
for ( ; ; )