Sorry, I think better name the structs to make them different: typedef struct A{ void* ptr; } CW_C_MsgUp_t; typedef struct B{ void* ptr; } CW_C_MsgDown_t;
Sorry, I think better name the structs to make them different: typedef struct A{ void* ptr; } CW_C_MsgUp_t; typedef struct B{ void* ptr; } CW_C_MsgDown_t;