diff options
author | hac425 <hac425xxx@gmail.com> | 2019-11-09 15:18:24 +0000 |
---|---|---|
committer | hac425 <hac425xxx@gmail.com> | 2019-11-09 15:18:24 +0000 |
commit | ab8fb271f71c50f46fac86fb7ac09593542726b3 (patch) | |
tree | 02b0cb63a388357b6ebde3dac92ce36ab7ec2aa7 /include/android-ashmem.h | |
parent | 574de9ff4cb2fdf2c28c32a3c2d7c5c773adb6ab (diff) | |
download | afl++-ab8fb271f71c50f46fac86fb7ac09593542726b3.tar.gz |
add support for android x86, x86-64 in qbdi mode
Diffstat (limited to 'include/android-ashmem.h')
-rwxr-xr-x[-rw-r--r--] | include/android-ashmem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/android-ashmem.h b/include/android-ashmem.h index f4d31739..7d34b877 100644..100755 --- a/include/android-ashmem.h +++ b/include/android-ashmem.h @@ -52,7 +52,7 @@ static inline int shmctl(int __shmid, int __cmd, struct shmid_ds *__buf) { if (__cmd == IPC_RMID) { int length = ioctl(__shmid, ASHMEM_GET_SIZE, NULL); - struct ashmem_pin pin = {0, length}; + struct ashmem_pin pin = {0, (unsigned int)length}; ret = ioctl(__shmid, ASHMEM_UNPIN, &pin); close(__shmid); |