1 unsigned char foo(unsigned long);
main()2 main()
3 {
4     unsigned char AChar;
5     unsigned long ALong = 0x12345678;
6 
7     AChar = foo(ALong);
8 
9     printf("AChar = %x\n",(int)AChar);
10 }
11 unsigned char
foo(unsigned long TheLong)12 foo( unsigned long TheLong)
13 {
14      return( (unsigned char) (TheLong & 0xff) );
15 }
16