phobos 0.161

This commit is contained in:
Brad Roberts 2007-09-10 05:24:49 +00:00
parent 6ca2e50261
commit b76c21ccf9
42 changed files with 973 additions and 260 deletions

View file

@ -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));
}