| commit | 8e6af039f3c9eb14a1ccdcd152fd9daf8965f197 | [log] [tgz] |
|---|---|---|
| author | Sergio Gómez <[email protected]> | Mon Jul 28 18:16:05 2025 |
| committer | Chromeos LUCI <[email protected]> | Wed Aug 20 15:33:19 2025 |
| tree | e81888a8b0345f4608b203e3cb009fd2be92e0cc | |
| parent | 5fdceaf7ef49f58d3970fcb4b5f270c2d5ddd7c0 [diff] |
camera/hal/mediatek: Fix compile error for memcpy in complex type As part of an ongoing effort to uprev glibc to 2.41 (see BUG), we are getting compile errors with recent clang revisions concerning memcpy operations on non-trivially-copyable types. To fix this C-style memcpy operation, just static_cast the type to void*. BUG=b:387993322 TEST=emerge-kukui media-libs/cros-camera-hal-mtk; CQ. Change-Id: If5fc66d4b8c11859d6ec17c865cdaceb297d3dad Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/camera/+/6793450 Reviewed-by: Ryota Okuji <[email protected]> Commit-Queue: Sergio Andres Gomez Del Real <[email protected]> Tested-by: Sergio Andres Gomez Del Real <[email protected]> Reviewed-by: George Burgess <[email protected]> Reviewed-by: Ricky Liang <[email protected]>