X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fipx%2Faf_ipx.c;h=811d998725bc6728bec208ad90ef81157f8235a0;hb=0d204094d15dac2e8a439b993f71eda385b4dccd;hp=2dbf134d5266068e633896e909a71d2f5572c8b4;hpb=f3cab8a0b1a772dc8b055b7affa567a366627c9e;p=mv-sheeva.git diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c index 2dbf134d526..811d998725b 100644 --- a/net/ipx/af_ipx.c +++ b/net/ipx/af_ipx.c @@ -944,9 +944,9 @@ out: return rc; } -static int ipx_map_frame_type(unsigned char type) +static __be16 ipx_map_frame_type(unsigned char type) { - int rc = 0; + __be16 rc = 0; switch (type) { case IPX_FRAME_ETHERII: rc = htons(ETH_P_IPX); break;