X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-lib%2Fbuffer.c;h=dccca24fb12900db97b7c96d33e91db5e263422a;hb=56025510c87ad388a257fcbd8b369b0edcf97c34;hp=6feb95849f139774bf98f948f416783bfe6bb3c1;hpb=05a3bbbe420e4afc76e0eea24ce32f859405dc4a;p=apps%2Fmadmutt.git diff --git a/lib-lib/buffer.c b/lib-lib/buffer.c index 6feb958..dccca24 100644 --- a/lib-lib/buffer.c +++ b/lib-lib/buffer.c @@ -87,7 +87,7 @@ void mutt_buffer_free(BUFFER **p) /* dynamically grows a BUFFER to accomodate s, in increments of 128 bytes. * Always one byte bigger than necessary for the null terminator, and * the buffer is always null-terminated */ -void mutt_buffer_add(BUFFER *buf, const char *s, size_t len) +void mutt_buffer_add(BUFFER *buf, const char *s, ssize_t len) { size_t offset; @@ -194,7 +194,7 @@ int mutt_extract_token(BUFFER *dest, BUFFER *tok, int flags) FILE *fp; pid_t pid; char *cmd, *ptr; - size_t expnlen; + ssize_t expnlen; BUFFER expn; int line = 0;