Skip to content
Snippets Groups Projects
Commit 35074a6a authored by Oleg Hahm's avatar Oleg Hahm
Browse files

posix socket: align size of sa_family_t with Linux

Linux defines `sa_family_t` as `unsigned short int`. In order to be compatible with Linux code, RIOT should define it the same way.
parent 97352463
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,7 @@ extern "C" {
#define SO_TYPE (15) /**< Socket type. */
/** @} */
typedef unsigned int sa_family_t; /**< address family type */
typedef unsigned short sa_family_t; /**< address family type */
/**
* @brief Used to define the socket address.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment