From f33d7756b8361ca38991bfe9d39ea5de13f86dfc Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 15 Sep 2012 19:57:18 +0200 Subject: Use inline function for alignment --- src/fastd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fastd.c') diff --git a/src/fastd.c b/src/fastd.c index ec70c6c..1990b36 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -265,7 +265,7 @@ static size_t methods_min_encrypt_head_space(fastd_context *ctx) { ret = s; } - return ALIGN(ret, 8); + return alignto(ret, 8); } static size_t methods_min_decrypt_head_space(fastd_context *ctx) { @@ -281,7 +281,7 @@ static size_t methods_min_decrypt_head_space(fastd_context *ctx) { ret = s; } - return ALIGN(ret, 8); + return alignto(ret, 8); } static size_t methods_min_encrypt_tail_space(fastd_context *ctx) { -- cgit v1.2.3