Hi Leonitis, > How can I instruct GCC (in the code) to do this? The production is: (short) * (short) ==> (int) If you want that to be a short: (short)((short) * (short)) ==> (short) So try this: c += (short)(a * b); HTH, --Eljay
Hi Leonitis, > How can I instruct GCC (in the code) to do this? The production is: (short) * (short) ==> (int) If you want that to be a short: (short)((short) * (short)) ==> (short) So try this: c += (short)(a * b); HTH, --Eljay