From 1735f98c788f8b92630302b05fbad5133d25f6d6 Mon Sep 17 00:00:00 2001 From: Rolf vandeVaart Date: Fri, 19 Nov 2010 16:29:45 +0000 Subject: [PATCH] Avoid potential warnings by using pid_t in all places. This commit was SVN r24071. --- opal/mca/compress/gzip/compress_gzip_module.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/opal/mca/compress/gzip/compress_gzip_module.c b/opal/mca/compress/gzip/compress_gzip_module.c index 86f63aff26..cb71e03191 100644 --- a/opal/mca/compress/gzip/compress_gzip_module.c +++ b/opal/mca/compress/gzip/compress_gzip_module.c @@ -1,6 +1,7 @@ /* * Copyright (c) 2004-2010 The Trustees of Indiana University. * All rights reserved. + * Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved. * * $COPYRIGHT$ * @@ -49,7 +50,7 @@ int opal_compress_gzip_module_finalize(void) int opal_compress_gzip_compress(char * fname, char **cname, char **postfix) { - int child_pid = 0; + pid_t child_pid = 0; int status = 0; opal_output_verbose(10, mca_compress_gzip_component.super.output_handle, @@ -135,7 +136,7 @@ int opal_compress_gzip_compress_nb(char * fname, char **cname, char **postfix, p int opal_compress_gzip_decompress(char * cname, char **fname) { - int child_pid = 0; + pid_t child_pid = 0; int status = 0; opal_output_verbose(10, mca_compress_gzip_component.super.output_handle,