[juliantec_list] 指针类型不匹配

  • From: 姜华 <jh2012626@xxxxxxxxx>
  • To: app-dev-in-linux@xxxxxxxxxxxxxx
  • Date: Tue, 24 Jul 2012 11:46:10 +0800

 strcat(p_path,&p_dir->d_name);
qwe.c:37: warning: passing argument 2 of ‘strcat’ from incompatible pointer type

p_dir 是结构体指针,d_name 是成员。p_path 是char *类型指针。char *p_path;

哪里不匹配?求解

Other related posts: