RPL: fix indentation (rpl-icmp6.c)
This commit is contained in:
parent
e9ee15efde
commit
b7b23b712f
|
@ -158,8 +158,8 @@ get_global_addr(uip_ipaddr_t *addr)
|
||||||
static uint32_t
|
static uint32_t
|
||||||
get32(uint8_t *buffer, int pos)
|
get32(uint8_t *buffer, int pos)
|
||||||
{
|
{
|
||||||
return (uint32_t)buffer[pos] << 24 | (uint32_t)buffer[pos + 1] << 16 |
|
return ((uint32_t)buffer[pos] << 24 | (uint32_t)buffer[pos + 1] << 16 |
|
||||||
(uint32_t)buffer[pos + 2] << 8 | buffer[pos + 3];
|
(uint32_t)buffer[pos + 2] << 8 | buffer[pos + 3]);
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue