diff options
| author | Nick Kralevich <nnk@google.com> | 2013-02-14 09:44:13 -0800 |
|---|---|---|
| committer | Nick Kralevich <nnk@google.com> | 2013-02-14 09:44:13 -0800 |
| commit | a261afb7c9de7c59dd078fa88f40b7818f79a098 (patch) | |
| tree | 6febba1dc5464e2ab17e47a6473d314b50337cfb /libc/bionic | |
| parent | 6b97c7dc0376577276abbdacc52e5cc11cf8a7fd (diff) | |
| download | bionic-a261afb7c9de7c59dd078fa88f40b7818f79a098.zip bionic-a261afb7c9de7c59dd078fa88f40b7818f79a098.tar.gz bionic-a261afb7c9de7c59dd078fa88f40b7818f79a098.tar.bz2 | |
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
Diffstat (limited to 'libc/bionic')
| -rw-r--r-- | libc/bionic/ssp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/ssp.cpp b/libc/bionic/ssp.cpp index f01fee6..3b7a1ff 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. |
