diff options
Diffstat (limited to 'libs/binder/Debug.cpp')
-rw-r--r-- | libs/binder/Debug.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/binder/Debug.cpp b/libs/binder/Debug.cpp index 4ac61a3007..f38bbb2f32 100644 --- a/libs/binder/Debug.cpp +++ b/libs/binder/Debug.cpp @@ -165,13 +165,13 @@ void printHexData(int32_t indent, const void *buf, size_t length, else if (bytesPerLine >= 8) alignment = 2; else alignment = 1; } - if (func == NULL) func = defaultPrintFunc; + if (func == nullptr) func = defaultPrintFunc; size_t offset; unsigned char *pos = (unsigned char *)buf; - if (pos == NULL) { + if (pos == nullptr) { if (singleLineBytesCutoff < 0) func(cookie, "\n"); func(cookie, "(NULL)"); return; @@ -297,7 +297,7 @@ void printHexData(int32_t indent, const void *buf, size_t length, ssize_t getBinderKernelReferences(size_t count, uintptr_t* buf) { sp<ProcessState> proc = ProcessState::selfOrNull(); - if (proc.get() == NULL) { + if (proc.get() == nullptr) { return 0; } |