mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +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;
|
} TDIEntityInfo;
|
||||||
|
|
||||||
#ifndef htons
|
#ifndef htons
|
||||||
#define htons(x) (((x) << 8) | (((x) >> 8) & 0xff))
|
#define htons(x) ((((x) & 0xff) << 8) | (((x) >> 8) & 0xff))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Global variable */
|
/* Global variable */
|
||||||
|
|
Loading…
Reference in a new issue