下面的代码给了我一个警告:
警告:赋值从没有强制转换的指针生成整数”:
uint16_t b[4];
uint16_t *g_00;
uint16_t *g_01;
uint16_t *g_10;
uint16_t *g_11;
b[0] = g_00;
b[1] = g_01;
b[2] = g_10;
b[3] = g_11;
printf ("add = %x\n", b[0]);
我b[0]... b[1]
的意思是用来保存地址uint16_t *g_00;
如何修复此编译器警告?