aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe/aligncomm-4.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-pe/aligncomm-4.c')
-rwxr-xr-xld/testsuite/ld-pe/aligncomm-4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/testsuite/ld-pe/aligncomm-4.c b/ld/testsuite/ld-pe/aligncomm-4.c
index 0c9e65d..085335a 100755
--- a/ld/testsuite/ld-pe/aligncomm-4.c
+++ b/ld/testsuite/ld-pe/aligncomm-4.c
@@ -1,5 +1,6 @@
typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__));
+typedef __SIZE_TYPE__ size_t;
long s1 = 0;
long s2 = 0;
@@ -10,7 +11,7 @@ __m128 * volatile raddr = &r;
int main (int argc, const char **argv)
{
- return 15 & (int)raddr;
+ return 15 & (int)(size_t)raddr;
}
void __main (void)