incompatible pointer type in C

后端 未结 3 1238
傲寒
傲寒 2020-12-06 15:27

so I\'m trying to pass a type double * to a function that accepts void ** as one of the parameters. This is the warning that I am getting.

3条回答
  •  悲&欢浪女
    2020-12-06 15:32

    int main( void )
    {
        //  Local Declaration
        double *target;
    
       //   Statement
       success = dequeue(queueIn, (void**)&target);
    }
    

    Use it like this.

提交回复
热议问题