From 5f45b7d53361bd32ce390e12f814660a98f86aa9 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 6 Oct 2017 13:15:28 +0200 Subject: use appropriate integer types Mainly found with clang -Wconversion -Wshorten-64-to-32. --- rfc2045.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rfc2045.c') diff --git a/rfc2045.c b/rfc2045.c index a0e5470..807a0c3 100644 --- a/rfc2045.c +++ b/rfc2045.c @@ -129,7 +129,7 @@ blaze822_multipart(struct message *msg, struct message **imsg) if (!blaze822_mime_parameter(s, "boundary", &boundary, &boundaryend)) return 0; char mboundary[256]; - int boundarylen = boundaryend-boundary+2; + size_t boundarylen = boundaryend-boundary+2; if (boundarylen >= 256) return 0; -- cgit 1.4.1