Skip to content

Commit

Permalink
Force an explicit cast to keep the compilers quiet.
Browse files Browse the repository at this point in the history
This commit was SVN r19975.
  • Loading branch information
bosilca committed Nov 11, 2008
1 parent aac4724 commit 6344b8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opal/util/stacktrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6344b8d

Please sign in to comment.