[A89] Re: OSdequeue() on TIGCC 0.91


[Prev][Next][Index][Thread]

[A89] Re: OSdequeue() on TIGCC 0.91




Hi!

| I don't know if anyone else has noticed this, but with tigcc 0.91,
whenever
| I try to use the OSdequeue() function using the & dereferencer, I get a
| "Incompatible type for argument 1 of indirect function call" error. The
| offending call would have the format of:
|
| OSdequeue(&key, kbq);
|
| where "key" is a short integer, and "kbq" is a void pointer to
kbd_queue().
| Could anyone shed some light on this?

Should be unsigned short int.
Anyway, the reason it reports a warning is because I made a slight mistake
and didn't think about the signed/unsigned stuff, so I'll fix it tomorrow.

| BTW, I apologize if this has already been brought up. I just subscribed to
| the list 5 minutes before writing this.

It has been answered on the message board.

Bye,
Sebastian Reichelt





References: