* Fixed broken decode function. I wonder how that one could have been missed
before... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37660 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
facb1eb9ad
commit
68d1b69012
@ -52,7 +52,7 @@ icmp_decode(uint32 errorCode, uint8 &type, uint8 &code)
|
||||
static inline uint32
|
||||
icmp_encode(uint8 type, uint8 code)
|
||||
{
|
||||
return ((uint32)type) << 8 + code;
|
||||
return ((uint32)type << 8) + code;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user