Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replaces
sizeof(raw_context)
with sizeof(*raw_context)
Using `sizeof(raw_context)` generates the following warning (which is an error in ChromeOS): ``` 'memset' call operates on objects of type 'MDRawContextX86' while the size is based on a different type 'MDRawContextX86 *' ``` This commit follows the implied advice of this warning and adjusts the expression. Bug: b:238678030, b:243982778 Test: Locally Change-Id: I26111c6ff7a1223223e6096a75ad52c48d941e89 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3960915 Reviewed-by: Joshua Peraza <jperaza@chromium.org>
- Loading branch information