summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-09-15 19:57:18 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-09-15 19:57:18 +0200
commitf33d7756b8361ca38991bfe9d39ea5de13f86dfc (patch)
treef43a86dfebaff297ddc18778c2765a8f6c9f58d8 /src/fastd.c
parentb2d02587fcd86f0c3910441d58c94dd0c9fea5b5 (diff)
downloadfastd-f33d7756b8361ca38991bfe9d39ea5de13f86dfc.tar
fastd-f33d7756b8361ca38991bfe9d39ea5de13f86dfc.zip
Use inline function for alignment
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c4
1 files changed, 2 insertions, 2 deletions
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) {