Fix minor FC4/x86 warnings.  Add .gitignore file.
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..732099e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,20 @@
+*.o
+
+Makefile
+Makefile.in
+
+COPYING
+INSTALL
+missing
+depcomp
+install-sh
+ethtool-config.h*
+ethtool.spec
+ethtool
+stamp-h1
+config.*
+aclocal.m4
+configure
+
+autom4te.cache
+.deps
diff --git a/ethtool.c b/ethtool.c
index 1eceb63..77ce379 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -43,7 +43,7 @@
 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
 #endif
 
-static int parse_wolopts(char *optstr, int *data);
+static int parse_wolopts(char *optstr, u32 *data);
 static char *unparse_wolopts(int wolopts);
 static int parse_sopass(char *src, unsigned char *dest);
 static int do_gdrv(int fd, struct ifreq *ifr);
@@ -913,7 +913,7 @@
 	return 0;
 }
 
-static int parse_wolopts(char *optstr, int *data)
+static int parse_wolopts(char *optstr, u32 *data)
 {
 	*data = 0;
 	while (*optstr) {
@@ -1985,7 +1985,7 @@
 	for (i = 0; i < n_stats; i++) {
 		char s[ETH_GSTRING_LEN];
 
-		strncpy(s, &strings->data[i * ETH_GSTRING_LEN],
+		strncpy(s, (const char *) &strings->data[i * ETH_GSTRING_LEN],
 			ETH_GSTRING_LEN);
 		fprintf(stdout, "     %s: %llu\n",
 			s, stats->data[i]);