diff options
author | Jonathan Wright <jonathan.wright@arm.com> | 2021-05-24 11:42:09 +0100 |
---|---|---|
committer | James Zern <jzern@google.com> | 2021-05-24 17:12:23 -0700 |
commit | dbda032fcfb323bfa74af52f86b26f337b0dc6be (patch) | |
tree | cc2553943ae65d54c454ae073208677d3bef18dd /warnings.h | |
parent | 35bce9389ea875b57b352a0f5f532b96aa47bff6 (diff) | |
download | libvpx-dbda032fcfb323bfa74af52f86b26f337b0dc6be.tar libvpx-dbda032fcfb323bfa74af52f86b26f337b0dc6be.tar.gz libvpx-dbda032fcfb323bfa74af52f86b26f337b0dc6be.tar.bz2 libvpx-dbda032fcfb323bfa74af52f86b26f337b0dc6be.zip |
Use 'ptrdiff_t' instead of 'int' for pointer offset parameters
A number of the load/store functions in mem_neon.h use type 'int' for
the 'stride' pointer offset parameter. This causes Clang to generate
the following warning every time these functions are called with a
wider type passed in for 'stride':
warning: implicit conversion loses integer precision: 'ptrdiff_t'
(aka 'long') to 'int' [-Wshorten-64-to-32]
This patch changes all such instances of 'int' to 'ptrdiff_t'.
Bug: b/181236880
Change-Id: I2e86b005219e1fbb54f7cf2465e918b7c077f7ee
Diffstat (limited to 'warnings.h')
0 files changed, 0 insertions, 0 deletions