Hello - Isn't this right? :
Why do I get a warning : "passing arg1 of "Function" from incompatible pointer type" ??
thanks!
Code:
void Function(int *d, const int c, int n);
void Function(int *d, const int c, int n)
{
while(n) { *(d++) = c; }
}
Function(&var1, 0, sizeof(thing));
thanks!
Comment