I have this function: I'm calling it this way: What error produces: Warning: logging 1 of a cast [enabled by default] makes an integer without indicator Arrivals are defined by a straight array and globally: MY_STRUCT is defined as: Anyone can help me solve this warning?
zero myFunc (INT start, INT end) {/ / Statement}
myFunc (AR [new_1]. Message, rr [new_2].);
MY_STRUCT arr [100];
typedef struct MY_STRUCT {INT number; MsgType * Message; } MY_STRUCT;
Your task is expecting INT
argument:
zero myFunc (start INT, INT end)
Unfortunately you are going through these things Ar [new_1]. Message
, which is a message type
indicator, so the message.
I suspect you should:
myFunc (AR [new_1] .Num, AR [new_2] .Num);
Comments
Post a Comment