mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
unconstify
This commit is contained in:
@@ -393,7 +393,7 @@ _free_aligned(unsigned char * const ptr, const size_t size)
|
||||
}
|
||||
|
||||
static unsigned char *
|
||||
_unprotected_ptr_from_user_ptr(const void *ptr)
|
||||
_unprotected_ptr_from_user_ptr(void * const ptr)
|
||||
{
|
||||
uintptr_t unprotected_ptr_u;
|
||||
unsigned char *canary_ptr;
|
||||
|
||||
Reference in New Issue
Block a user