warning: passing argument 3 of ‘pthread_create’ from incompatible pointer type
Hello there,
I cant understand why this warning: "passing argument 3 of ‘pthread_create’ from incompatible pointer type" occurs, can i get some help plz.Here is my code Code:
#include <stdio.h> |
Hi
Change it to: void *stringManager( void *param ); This will get rid of the warning. You can then typecast param to char pointer inside the function. |
All times are GMT -5. The time now is 06:01 PM. |