> prog.c:441: warning: passing arg 1 of `DateToAscii' with different width due
> to prototype
> prog.c:441: warning: passing arg 2 of `DateToAscii' with different width due
> to prototype

       -Wcast-align
              Warn  whenever  a pointer is cast such that the re-
              quired alignment of the target is  increased.   For
              example,  warn  if  a char * is cast to an int * on
              machines where integers can  only  be  accessed  at
              two- or four-byte boundaries.

The calling convention on most 16 and 32 bit platforms places arguments on
the stack in larger than 8 bit increments.  Byte is an 8-bit value, so when
you pass one, the rest of the 16 or 32 bits are unused.

This warning is nothing to worry about.  If you don't want to see it, don't
ask for it (by putting -Wcast-align on your command line).

-- 
Michael Pearce <[EMAIL PROTECTED]>                           +1 314 386 0663
Coreth Consulting, Inc.                              St. Louis, Missouri, USA

Reply via email to