diff options
author | 2019-03-24 02:01:06 -0700 | |
---|---|---|
committer | 2019-03-24 02:01:06 -0700 | |
commit | 48d7608aa5806192f18e2d572f56a6bc6a10a47c (patch) | |
tree | 53455eef8d6d9ae5ba90298729a6677e96e0f620 /libs/ui/Region.cpp | |
parent | b6c5df1abefa76bfa2f554143c41d7ab6519b765 (diff) |
[libs/ui] Modernize codebase by replacing NULL with nullptr
Fixes -Wzero-as-null-pointer-constant warning.
Test: m
Bug: 68236239
Change-Id: I240d39ef4328943447149700b3ece371681078d1
Diffstat (limited to 'libs/ui/Region.cpp')
-rw-r--r-- | libs/ui/Region.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ui/Region.cpp b/libs/ui/Region.cpp index 3bd3748439..224dc2c122 100644 --- a/libs/ui/Region.cpp +++ b/libs/ui/Region.cpp @@ -820,7 +820,7 @@ status_t Region::unflatten(void const* buffer, size_t size) { } if (numRects > (UINT32_MAX / sizeof(Rect))) { - android_errorWriteWithInfoLog(0x534e4554, "29983260", -1, NULL, 0); + android_errorWriteWithInfoLog(0x534e4554, "29983260", -1, nullptr, 0); return NO_MEMORY; } |