diff --git a/headers/private/net/icmp.h b/headers/private/net/icmp.h index 91dca3c5d5..510ff9ab2a 100644 --- a/headers/private/net/icmp.h +++ b/headers/private/net/icmp.h @@ -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; }