blob: bd7a5f68c1ee9191d883715626cdc6cf1362ee09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ah,v 1.1 2008/08/31 20:09:12 dholland Exp $
--- src/sender.c~ 2004-08-13 07:18:23.000000000 -0400
+++ src/sender.c 2008-08-31 15:53:02.000000000 -0400
@@ -178,7 +178,7 @@ write_headers (FILE *fp, mime_t *mime, c
static int
-get_buffer (mime_t *mime, char **place, int *size)
+get_buffer (mime_t *mime, char **place, size_t *size)
{
int ret;
FILE *fp;
@@ -206,7 +206,7 @@ static int
write_attachment (FILE *fp, mime_t *mime)
{
char *buf;
- int size;
+ size_t size;
str_t *str;
if (get_buffer (mime, & buf, & size))
|