Here's the declaration in the calling function:
DWORD far *fp_mbr;
I want to pass it to:
int zero_partition (PTABLE_ENTRY *pptable, DWORD * far *p_fp_mbr);
but when i write:
retval = zero_partition (pptable, &fp_mbr);
the compiler warnings me.
The function zero_partition () is expected to allocate memory with farmalloc
() and store this pointer in: *p_fp_mbr this way:
*p_fp_mbr = farmalloc (512);
What is wrong ?
Any help is welcome :-)
bye
mElo
: Here's the declaration in the calling function:
: DWORD far *fp_mbr;
: I want to pass it to:
: int zero_partition (PTABLE_ENTRY *pptable, DWORD * far *p_fp_mbr);
: but when i write:
: retval = zero_partition (pptable, &fp_mbr);
Have you tried:
retval = zero_partition (pptable, (DWORD *)&fp_mbr);
: the compiler warnings me.