mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Don't let sign extension mess us up here.
svn path=/trunk/; revision=14172
This commit is contained in:
parent
e52a450d86
commit
59c145b801
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue