typedef struct FileHdr
{
unsigned long reg;
unsigned short width;
float sfactor;
struct FileHdr huge *next;
}FileHdr;
FileHdr huge *Hdrhead=NULL,h uge *Hdrcur=NULL;
//
//
Hdrhead=(FileHd r huge *)malloc(sizeof (FileHdr));
//some operation
free(Hdrhead);
when i try to free huge pointer i get a warning stating suspicious pointer conversion
is there any other best way to free huge pointer
{
unsigned long reg;
unsigned short width;
float sfactor;
struct FileHdr huge *next;
}FileHdr;
FileHdr huge *Hdrhead=NULL,h uge *Hdrcur=NULL;
//
//
Hdrhead=(FileHd r huge *)malloc(sizeof (FileHdr));
//some operation
free(Hdrhead);
when i try to free huge pointer i get a warning stating suspicious pointer conversion
is there any other best way to free huge pointer
Comment