From 6344b8dffe27e0707401ff605bebd96972c4200a Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Tue, 11 Nov 2008 14:58:53 +0000 Subject: [PATCH] Force an explicit cast to keep the compilers quiet. This commit was SVN r19975. --- opal/util/stacktrace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opal/util/stacktrace.c b/opal/util/stacktrace.c index fa06b49e58..76e97899dd 100644 --- a/opal/util/stacktrace.c +++ b/opal/util/stacktrace.c @@ -309,10 +309,10 @@ static void opal_show_stackframe (int signo, siginfo_t * info, void * p) { #ifdef HAVE_SIGINFO_T_SI_FD ret = snprintf(tmp, size, HOSTFORMAT "Band event: %ld, File Descriptor : %d\n", - stacktrace_hostname, getpid(), info->si_band, info->si_fd); + stacktrace_hostname, getpid(), (long)info->si_band, info->si_fd); #elif HAVE_SIGINFO_T_SI_BAND ret = snprintf(tmp, size, HOSTFORMAT "Band event: %ld\n", - stacktrace_hostname, getpid(), info->si_band); + stacktrace_hostname, getpid(), (long)info->si_band); #else ret = 0; #endif