Commit 4d1f11f6a9effce05ba51578b142827834d1f699

Ole André Vadla Ravnås 2016-08-10T15:21:42

aarch64: Fix operand size warning reported by Clang

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/aarch64/ffi.c b/src/aarch64/ffi.c
index cf33abc..8ec9c39 100644
--- a/src/aarch64/ffi.c
+++ b/src/aarch64/ffi.c
@@ -316,7 +316,7 @@ extend_integer_type (void *source, int type)
 static void
 extend_hfa_type (void *dest, void *src, int h)
 {
-  int f = h - AARCH64_RET_S4;
+  ssize_t f = h - AARCH64_RET_S4;
   void *x0;
 
   asm volatile (