function prototype

void test (const struct addr*);


calling the function
test( (struct addr *) &something);

The prototype is expecting a parameter of pointer to the structure addr,
but the calling function is supplying the address of the pointer of the structure addr.

is this correct?
or test((struct addr*) something) is the right way?