Fix compiler warnings.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
diff --git a/testcases/kernel/fs/doio/doio.c b/testcases/kernel/fs/doio/doio.c
index bae8012..b8f8c4b 100644
--- a/testcases/kernel/fs/doio/doio.c
+++ b/testcases/kernel/fs/doio/doio.c
@@ -1435,7 +1435,7 @@
 	static int		pid = -1;
 	int	    	    	fd, nbytes, oflags, signo;
 	int	    	    	logged_write, rval, got_lock;
-	long    	    	offset, woffset;
+	off_t    	    	offset, woffset;
 	char    	    	*addr, pattern, *file, *msg;
 	struct wlog_rec		wrec;
 #ifdef CRAY
@@ -1446,6 +1446,8 @@
 	struct fd_cache		*fdc;
 #endif
 
+	woffset = 0;
+
 	/*
 	 * Misc variable setup
 	 */
@@ -2962,7 +2964,8 @@
 	static int		pid = -1;
 	int	    		fd, offset, nbytes, nstrides, nents, oflags;
 	int			rval, mem_needed, i;
-	int	    		logged_write, got_lock, woffset, pattern;
+	int	    		logged_write, got_lock, pattern;
+	off_t			woffset;
 	int			min_byte, max_byte;
 	char    		*addr, *file, *msg;
 	struct status		*s;
@@ -2976,6 +2979,8 @@
 	struct fd_cache		*fdc;
 #endif
 
+	woffset = 0;
+
 	/*
 	 * Initialize common fields - assumes r_oflags, r_file, r_offset, and
 	 * r_nbytes are at the same offset in the read_req and reada_req
@@ -5430,4 +5435,4 @@
 	fprintf(stream, "\t                     of io_req structures (see doio.h).  Currently\n");
 	fprintf(stream, "\t                     only the iogen program generates the proper\n");
 	fprintf(stream, "\t                     format\n");
-}
\ No newline at end of file
+}