I am trying to clear C compiler warnings. For the attached program extract (a function StringsToArray, used to place a variable number of strings into an array), 3 compiler warnings are issued for each line:
str = (char *)va_arg(pvar,char *)
The warnings are all the same "Casting from loose to strict alignment".
When ANSI migration warnings are asked for instead, a different warning for the same lines is issued "Large unsuffixed integer constant will be type unsigned integer in ANSI-C".
Can anyone help?