From 62afa63dedea99f0189760090c482f92e8ad69df Mon Sep 17 00:00:00 2001 From: Brian Barrett Date: Thu, 20 Apr 2006 15:42:36 +0000 Subject: [PATCH] Initialize length to 0 instead of -1 (size_t might be unsigned and therefore -1 is an issue). This should go to the v1.1 branch... This commit was SVN r9665. --- orte/tools/orterun/orterun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orte/tools/orterun/orterun.c b/orte/tools/orterun/orterun.c index 989d8087f1..d2796f24c1 100644 --- a/orte/tools/orterun/orterun.c +++ b/orte/tools/orterun/orterun.c @@ -84,7 +84,7 @@ static orte_jobid_t jobid = ORTE_JOBID_MAX; static orte_pointer_array_t *apps_pa; static bool wait_for_job_completion = true; static char *abort_msg = NULL; -static size_t abort_msg_len = -1; +static size_t abort_msg_len = 0; static char *orterun_basename = NULL; static int max_display_aborted = 1; static int num_aborted = 0;