Skip to content

Commit

Permalink
Fix FTBFS on big-endian 64-bit architectures
Browse files Browse the repository at this point in the history
Origin: upstream, OpenMathLib/OpenBLAS@b1d722f
Bug: OpenMathLib/OpenBLAS#4633
Reviewed-by: Sébastien Villemot <[email protected]>
Last-Update: 2024-04-29

A long* pointer was incorrectly cast as an int*.
Last-Update: 2024-04-29
Gbp-Pq: Name testsuite-64bit-big-endian.patch
  • Loading branch information
Debian Science Team authored and svillemot committed Apr 29, 2024
1 parent fc2af02 commit 78d62e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utest/test_extensions/xerbla.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -85,4 +85,4 @@ void set_xerbla(char* current_rout, int expected_info){
lerr = TRUE;
_info = expected_info;
rout = current_rout;
}
}

0 comments on commit 78d62e3

Please sign in to comment.