mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2025-02-25 13:20:37 +00:00
nullptr改为NULL
Signed-off-by: xangjm <xiangjiaming2@huawei.com>
This commit is contained in:
parent
9c42121c7d
commit
e6d715af89
@ -246,7 +246,7 @@ int main(int argc, char *argv[])
|
||||
printf("Process pid %d, Test start %d thread, malloc %d size\n", pid, threadNum, mallocSize);
|
||||
|
||||
pthread_t* thrArray = (pthread_t*)malloc(sizeof(pthread_t) * threadNum);
|
||||
if (thrArray == nullptr) {
|
||||
if (thrArray == NULL) {
|
||||
printf("new thread failed.\n");
|
||||
}
|
||||
int idx;
|
||||
|
Loading…
x
Reference in New Issue
Block a user