aboutsummaryrefslogtreecommitdiffstats
path: root/test/regression/sizeof1.c
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2016-10-27 16:26:08 +0200
committerGitHub <noreply@github.com>2016-10-27 16:26:08 +0200
commit9922feea537ced718a3822dd50eabc87da060338 (patch)
tree6f67bb6707ef59e50d6bb81c61b2ed0b3c6097ab /test/regression/sizeof1.c
parentf2d6637c7d4a11f961ff289e64f70bf4de93d0aa (diff)
parentd50773e537ec6729f9152b545c6f938ab19eb7b8 (diff)
downloadcompcert-9922feea537ced718a3822dd50eabc87da060338.tar.gz
compcert-9922feea537ced718a3822dd50eabc87da060338.zip
Merge pull request #145 from AbsInt/64
Support for 64-bit target processors + support for x86 in 64-bit mode
Diffstat (limited to 'test/regression/sizeof1.c')
-rw-r--r--test/regression/sizeof1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/regression/sizeof1.c b/test/regression/sizeof1.c
index 139b1bc7..ca494622 100644
--- a/test/regression/sizeof1.c
+++ b/test/regression/sizeof1.c
@@ -34,10 +34,10 @@ char b2[sizeof(struct bits2)]; /* should be 8 */
int main()
{
printf("sizeof(struct s) = %d, sizeof(tbl) = %d\n",
- sizeof(struct s), sizeof(tbl));
+ (int) sizeof(struct s), (int) sizeof(tbl));
printf("sizeof(struct bits1) = %d, sizeof(b1) = %d\n",
- sizeof(struct bits1), sizeof(b1));
+ (int) sizeof(struct bits1), (int) sizeof(b1));
printf("sizeof(struct bits2) = %d, sizeof(b2) = %d\n",
- sizeof(struct bits2), sizeof(b2));
+ (int) sizeof(struct bits2), (int) sizeof(b2));
return 0;
}