TIFFSwabShort(uint16* wp)
{
register u_char* cp = (u_char*) wp;
- int t;
+ u_char t;
t = cp[1]; cp[1] = cp[0]; cp[0] = t;
}
TIFFSwabLong(uint32* lp)
{
register u_char* cp = (u_char*) lp;
- int t;
+ u_char t;
t = cp[3]; cp[3] = cp[0]; cp[0] = t;
t = cp[2]; cp[2] = cp[1]; cp[1] = t;
TIFFSwabArrayOfShort(uint16* wp, register u_long n)
{
register u_char* cp;
- register int t;
+ register u_char t;
/* XXX unroll loop some */
while (n-- > 0) {
TIFFSwabArrayOfLong(register uint32* lp, register u_long n)
{
register unsigned char *cp;
- register int t;
+ register unsigned char t;
/* XXX unroll loop some */
while (n-- > 0) {