I am using a structure
typedef struct ObjectHandle
{
long *objHandle;
}ObjectHandle ;
A function where the output is the value of this structure
AllocateObject(ObjectHandle* objectHandle)
{
....
...
...
objectHandle->objHandle = some long value;
}
But compiler is giving warning: assignment makes pointer from integer without a cast
Please help