diff options
author | Niels Möller <nisse@lysator.liu.se> | 2013-04-26 13:43:57 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2013-04-26 13:43:57 +0200 |
commit | 86fdb2ce31177028de997b98cc71b5027cf0bc1c (patch) | |
tree | 36354b55648781af22b5dc6c32862d2f3f70a6af /base64-meta.c | |
parent | eb7c996e529a49b5eedeb064df275378486987d7 (diff) | |
download | nettle-86fdb2ce31177028de997b98cc71b5027cf0bc1c.tar.gz |
Use size_t rather than unsigned for base16, base64, nettle_bufer and sexp related functions.
Diffstat (limited to 'base64-meta.c')
-rw-r--r-- | base64-meta.c | 10 |
1 files changed, 6 insertions, 4 deletions
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); } |