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
This commit is contained in:
Nick Kralevich 2013-02-14 09:44:13 -08:00
parent 6b97c7dc03
commit a261afb7c9

View File

@ -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.