aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.c4
-rw-r--r--user.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/server.c b/server.c
index e02e1e7..8da231c 100644
--- a/server.c
+++ b/server.c
@@ -511,7 +511,7 @@ WriteCheckArgSize(FILE *file, const argument_t *arg)
/* If the base type size of the data field isn`t a multiple of complex_alignof,
we have to round up. */
if (btype->itTypeSize % complex_alignof != 0)
- fprintf(file, " + %zd) & ~%zd", complex_alignof - 1, complex_alignof - 1);
+ fprintf(file, " + %zd) & ~%zdU", complex_alignof - 1, complex_alignof - 1);
if (ptype->itIndefinite) {
fprintf(file, " : sizeof(%s *)", FetchServerType(btype));
@@ -1192,7 +1192,7 @@ WriteArgSize(FILE *file, const argument_t *arg)
* we have to round up.
*/
if (bsize % complex_alignof != 0)
- fprintf(file, " + %zd) & ~%zd", complex_alignof - 1, complex_alignof - 1);
+ fprintf(file, " + %zd) & ~%zdU", complex_alignof - 1, complex_alignof - 1);
if (ptype->itIndefinite) {
fprintf(file, " : sizeof(%s *)",
diff --git a/user.c b/user.c
index d98ab98..48b8c8b 100644
--- a/user.c
+++ b/user.c
@@ -552,7 +552,7 @@ WriteArgSize(FILE *file, const argument_t *arg)
* we have to round up.
*/
if (bsize % complex_alignof != 0)
- fprintf(file, " + %zd) & ~%zd", complex_alignof - 1, complex_alignof - 1);
+ fprintf(file, " + %zd) & ~%zdU", complex_alignof - 1, complex_alignof - 1);
if (ptype->itIndefinite) {
fprintf(file, " : sizeof(%s *)",
@@ -880,7 +880,7 @@ WriteCheckArgSize(FILE *file, const argument_t *arg)
/* If the base type size of the data field isn`t a multiple of complex_alignof,
we have to round up. */
if (btype->itTypeSize % complex_alignof != 0)
- fprintf(file, " + %zd) & ~%zd", complex_alignof - 1, complex_alignof - 1);
+ fprintf(file, " + %zd) & ~%zdU", complex_alignof - 1, complex_alignof - 1);
if (ptype->itIndefinite)
fprintf(file, " : sizeof(%s *)", FetchUserType(btype));