From 86fdb2ce31177028de997b98cc71b5027cf0bc1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Fri, 26 Apr 2013 13:43:57 +0200 Subject: Use size_t rather than unsigned for base16, base64, nettle_bufer and sexp related functions. --- base64-meta.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'base64-meta.c') diff --git a/base64-meta.c b/base64-meta.c index f1ccea0f..cb33c675 100644 --- a/base64-meta.c +++ b/base64-meta.c @@ -29,14 +29,16 @@ #include "base64.h" /* Same as the macros with the same name */ -static unsigned -base64_encode_length(unsigned length) +static nettle_armor_length_func base64_encode_length; +static size_t +base64_encode_length(size_t length) { return BASE64_ENCODE_LENGTH(length); } -static unsigned -base64_decode_length(unsigned length) +static nettle_armor_length_func base64_decode_length; +static size_t +base64_decode_length(size_t length) { return BASE64_DECODE_LENGTH(length); } -- cgit v1.2.1