less warnings

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3750 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-11-02 04:07:03 +00:00
parent 9a707cbe2d
commit b3712d39f4
7 changed files with 23 additions and 15 deletions

View File

@@ -47,10 +47,10 @@ RCSID("$Id$");
static u_int32_t
swap32(u_int32_t x)
{
return (x << 24) & 0xff000000 |
(x << 8) & 0xff0000 |
(x >> 8) & 0xff00 |
(x >> 24) & 0xff;
return ((x << 24) & 0xff000000) |
((x << 8) & 0xff0000) |
((x >> 8) & 0xff00) |
((x >> 24) & 0xff);
}
int