error: 'void*' is not

Code:
Sinuosity __stdcall Sinuosity::operator++(int x)
 {
    void* temp;
    temp->sin = this->sin;
    ++this->sin;
    return (Sinuosity)temp;
}