指点迷津解决思路

指点迷津constA_STRUCTMM{...}constA_STRUCTNN{...}typedefstruct{intlengthint*pdataA_STRUCT*gi

指点迷津
const   A_STRUCT   MM   =
{
      ...;
};

const   A_STRUCT   NN=
{
      ...;
};

typedef   struct
{
  int   length;
  int   *pdata;    
  A_STRUCT   *gif;

}B_STRUCT;

const   B_STRUCT     PP[]   =
{
        {0,   NULL,&MM},
        {0,   NULL,&NN}
}

编译的时候报这样的警告:
  {0,   NULL,&MM},
  {0,   NULL,&NN}     这两行有以下警告
warning:   initialization   discards   qualifiers   from   pointer   target     type
请问哪位大虾能帮我纠正一下错误,多谢指点迷津!

[解决办法]
{0, NULL,(A_STRUCT *)&MM},