← Commit list

85e015c7c

Denis Vlasenko
Denis Vlasenko
2008-05-17
FAILED Duration: 27s

Subject

two fixlets for -Wall

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/ifconfig.c+1 -1
@@ -514,7 +514,7 @@ static int in_ether(const char *bufp, struct sockaddr *sap)
unsigned char c;
sap->sa_family = ARPHRD_ETHER;
- ptr = sap->sa_data;
+ ptr = (char *) sap->sa_data;
i = 0;
do {
networking/interface.c+1 -1
@@ -1224,7 +1224,7 @@ int in_ib(const char *bufp, struct sockaddr *sap)
unsigned val;
sap->sa_family = ib_hwtype.type;
- ptr = sap->sa_data;
+ ptr = (unsigned char *) sap->sa_data;
i = 0;
orig = bufp;