This is my warning.
warning: passing argument 2 of βmemsetβ makes integer from pointer without a cast
Then I changed as follows (make NULL equal to 0)
Before Change : memset(key, NULL, KEY_BYTES);
After Change : memset(key, 0, KEY_BYTES);
Warning deleted.
I am using the linux compiler and gcc, C.
This is the right action.
source
share