Commit 1897c893 authored by Nils Larsch's avatar Nils Larsch
Browse files

avoid warnings when building on systems where sizeof(void *) > sizeof(int)

parent 3cc54008
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ void OPENSSL_cleanse(void *ptr, size_t len)
	while(loop--)
		{
		*(p++) = cleanse_ctr;
		cleanse_ctr += (17 + (unsigned char)((int)p & 0xF));
		cleanse_ctr += (17 + (unsigned char)((unsigned long)p & 0xF));
		}
	if(memchr(ptr, cleanse_ctr, len))
		cleanse_ctr += 63;