Merge "Nullability check for swab module." am: 056ffc6b9c
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2566618 Change-Id: I1d36b045c7643b44841f309ebf91f6d065e79faf Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
1f8c788349
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
|||
|
||||
__BEGIN_DECLS
|
||||
|
||||
__BIONIC_SWAB_INLINE void swab(const void* __void_src, void* __void_dst, ssize_t __byte_count) {
|
||||
__BIONIC_SWAB_INLINE void swab(const void* _Nonnull __void_src, void* _Nonnull __void_dst, ssize_t __byte_count) {
|
||||
const uint8_t* __src = __BIONIC_CAST(static_cast, const uint8_t*, __void_src);
|
||||
uint8_t* __dst = __BIONIC_CAST(static_cast, uint8_t*, __void_dst);
|
||||
while (__byte_count > 1) {
|
||||
|
|
Loading…
Reference in a new issue