From a261afb7c9de7c59dd078fa88f40b7818f79a098 Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Thu, 14 Feb 2013 09:44:13 -0800 Subject: [PATCH] fix compiler warning. bionic/libc/bionic/ssp.cpp:41:31: warning: converting to non-pointer type 'uintptr_t {aka unsigned int}' from NULL [-Wconversion-null] Change-Id: Id154ed4a99520cca64ffd3dbe4d743db6e2da28a --- libc/bionic/ssp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/bionic/ssp.cpp b/libc/bionic/ssp.cpp index f01fee6bd..3b7a1ff47 100644 --- a/libc/bionic/ssp.cpp +++ b/libc/bionic/ssp.cpp @@ -38,7 +38,7 @@ #include "bionic_ssp.h" #include "logd.h" -uintptr_t __stack_chk_guard = NULL; +uintptr_t __stack_chk_guard = 0; static void __attribute__((constructor)) __init_stack_check_guard() { // AT_RANDOM is a pointer to 16 bytes of randomness on the stack. -- 2.11.0