From 1fe7f2e5183e445d8ae3ce765351bfb8f2ac0a74 Mon Sep 17 00:00:00 2001 From: Andrew Perepechko Date: Mon, 11 Jan 2010 15:55:42 +0300 Subject: [PATCH] b=21670 use int instead of char to hold getopt rc in accordance with its prototype i=Brian Murrell --- lustre/tests/mpi/write_disjoint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/mpi/write_disjoint.c b/lustre/tests/mpi/write_disjoint.c index 9b28d60..2561000 100644 --- a/lustre/tests/mpi/write_disjoint.c +++ b/lustre/tests/mpi/write_disjoint.c @@ -77,13 +77,13 @@ void rprintf(int rank, int loop, const char *fmt, ...) #define CHUNK_SIZE(n) chunk_size[(n) % 2] int main (int argc, char *argv[]) { - int i, n, fd; + int i, n, fd, c; unsigned long chunk_size[2]; int rank, noProcessors, done; int error; off_t offset; char **chunk_buf; - char *read_buf, c; + char *read_buf; struct stat stat_buf; ssize_t ret; char *filename = "/mnt/lustre/write_disjoint"; -- 1.8.3.1