From 734648434a8585e44c291295681d29917924be60 Mon Sep 17 00:00:00 2001 From: Jeff Hammond Date: Thu, 24 Oct 2024 13:16:15 +0300 Subject: [PATCH] printf format fixes - assume Integer fits into int --- src/peigs/src/c/pstein5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/peigs/src/c/pstein5.c b/src/peigs/src/c/pstein5.c index dfb4cc50b7..3e60aa75e7 100644 --- a/src/peigs/src/c/pstein5.c +++ b/src/peigs/src/c/pstein5.c @@ -178,7 +178,7 @@ void pstein5 ( n, dd, ee, dplus, lplus, ld, lld, meigval, eval, iblock, nsplit, #ifdef DEBUG1 - fprintf(stderr, "me = %d In pstein \n", me ); + fprintf(stderr, "me = %d In pstein \n", (int)me ); #endif /* @@ -442,7 +442,7 @@ void pstein5 ( n, dd, ee, dplus, lplus, ld, lld, meigval, eval, iblock, nsplit, if ( isize < 0 ){ *info = -99; fprintf(stderr, " Node %d: error in clustrf isize = %d neigval = %d \n", - me, isize, neigval ); + (int)me, (int)isize, (int)neigval ); xstop_( info ); }