mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 23:20:29 +03:00
phobos 0.161
This commit is contained in:
parent
6ca2e50261
commit
b76c21ccf9
42 changed files with 973 additions and 260 deletions
|
@ -173,7 +173,7 @@ else version(LittleEndian)
|
|||
|
||||
uint16_t htons(uint16_t x)
|
||||
{
|
||||
return (x >> 8) | (x << 8);
|
||||
return cast(uint16_t)((x >> 8) | (x << 8));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue