net: Use int instead of u8 for boolean flag
On some archs masking the parameter is inefficient, so don't use u8.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reported-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
diff --git a/include/net.h b/include/net.h
index df86176..bcf396a 100644
--- a/include/net.h
+++ b/include/net.h
@@ -178,7 +178,7 @@
const char *eth_get_name(void); /* get name of current device */
#ifdef CONFIG_MCAST_TFTP
-int eth_mcast_join(IPaddr_t mcast_addr, u8 join);
+int eth_mcast_join(IPaddr_t mcast_addr, int join);
u32 ether_crc(size_t len, unsigned char const *p);
#endif