Hi there, i got this function : and i most convert the (void*) returned by the function in a (char *). I tried many things, but nothing could go past the compiler.. can anyone give me a hint on this?
my last try was something like: (char*)function_result
where function_result is the void* returned by the function.
Code:typedef struct { int nombre_prefere; char allo[50]; char *chaine_dynamique; } MaStructure; void *recuperateur_de_allo(void *donnees) { MaStructure *d = donnees; return d->allo; }
I give you my big thanks!