From b1d722fc0cf563298de8c5ae66fc04a1901d4bf1 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 29 Apr 2024 15:37:26 +0200 Subject: [PATCH] Fix cast to work with INTERFACE64 (especially on big-endian) --- utest/test_extensions/xerbla.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utest/test_extensions/xerbla.c b/utest/test_extensions/xerbla.c index 9487b20a64..8c90d4ce75 100644 --- a/utest/test_extensions/xerbla.c +++ b/utest/test_extensions/xerbla.c @@ -39,7 +39,7 @@ static char *rout; static void F77_xerbla(char *srname, void *vinfo) { - int info=*(int*)vinfo; + blasint info=*(blasint*)vinfo; if (link_xerbla) { @@ -85,4 +85,4 @@ void set_xerbla(char* current_rout, int expected_info){ lerr = TRUE; _info = expected_info; rout = current_rout; -} \ No newline at end of file +}