Don't let sign extension mess us up here.

svn path=/trunk/; revision=14172
This commit is contained in:
Art Yerkes 2005-03-18 02:56:29 +00:00
parent e52a450d86
commit 59c145b801

View file

@ -136,7 +136,7 @@ typedef struct {
} TDIEntityInfo;
#ifndef htons
#define htons(x) (((x) << 8) | (((x) >> 8) & 0xff))
#define htons(x) ((((x) & 0xff) << 8) | (((x) >> 8) & 0xff))
#endif
/* Global variable */