K
kc
Hi,
i am getting a warning when compiling my program...
blbp_eom_isr_revenue.c", line 739: warning 527: Integral value
implicitly converted to pointer in assignment.
blbp_eom_isr_revenue.c", line 739: warning 563: Argument #4 is not the
correct type.
and at line 739:-
qsort((void *)Buff, totalRecs, sizeof(strcture_name), (int)
(*blbp_CtnRecCompare));
and the function blbp_CtnRecCompare is -
int blbp_CtnRecCompare (strcture_name Rec_1,
strcture_name Rec_2)
{
return (strcmp (Rec_1.field_name, Rec_2.field_name));
}
Thanks for the solutions.
i am getting a warning when compiling my program...
blbp_eom_isr_revenue.c", line 739: warning 527: Integral value
implicitly converted to pointer in assignment.
blbp_eom_isr_revenue.c", line 739: warning 563: Argument #4 is not the
correct type.
and at line 739:-
qsort((void *)Buff, totalRecs, sizeof(strcture_name), (int)
(*blbp_CtnRecCompare));
and the function blbp_CtnRecCompare is -
int blbp_CtnRecCompare (strcture_name Rec_1,
strcture_name Rec_2)
{
return (strcmp (Rec_1.field_name, Rec_2.field_name));
}
Thanks for the solutions.