diff --git a/binfmt/libelf/libelf_load.c b/binfmt/libelf/libelf_load.c index a74ae3f1f6..6460c79fe8 100644 --- a/binfmt/libelf/libelf_load.c +++ b/binfmt/libelf/libelf_load.c @@ -51,6 +51,7 @@ #include #include +#include #include #include diff --git a/net/procfs/netdev_statistics.c b/net/procfs/netdev_statistics.c index cdeb7241a1..a75ee06f49 100644 --- a/net/procfs/netdev_statistics.c +++ b/net/procfs/netdev_statistics.c @@ -538,7 +538,7 @@ static int netprocfs_errors(FAR struct netprocfs_file_s *netfile) stats = &dev->d_statistics; return snprintf(netfile->line, NET_LINELEN , "\tTotal Errors: %08x\n\n", - (unsigned long)stats->errors); + stats->errors); } #endif /* CONFIG_NETDEV_STATISTICS */