Skip to content

Commit 3e90359

Browse files
Add typecasts to outputs
1 parent a077ce6 commit 3e90359

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

CBLAS/testing/c_c2chke.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void chkxer(void) {
2222
extern CBLAS_INT link_xerbla;
2323
extern char *cblas_rout;
2424
if (cblas_lerr == 1 ) {
25-
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", cblas_info, cblas_rout);
25+
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", (int) cblas_info, cblas_rout);
2626
cblas_ok = 0 ;
2727
}
2828
cblas_lerr = 1 ;

CBLAS/testing/c_c3chke.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void chkxer(void) {
2222
extern CBLAS_INT link_xerbla;
2323
extern char *cblas_rout;
2424
if (cblas_lerr == 1 ) {
25-
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", cblas_info, cblas_rout);
25+
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", (int) cblas_info, cblas_rout);
2626
cblas_ok = 0 ;
2727
}
2828
cblas_lerr = 1 ;

CBLAS/testing/c_d2chke.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void chkxer(void) {
2222
extern CBLAS_INT link_xerbla;
2323
extern char *cblas_rout;
2424
if (cblas_lerr == 1 ) {
25-
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", cblas_info, cblas_rout);
25+
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", (int) cblas_info, cblas_rout);
2626
cblas_ok = 0 ;
2727
}
2828
cblas_lerr = 1 ;

CBLAS/testing/c_d3chke.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void chkxer(void) {
2222
extern CBLAS_INT link_xerbla;
2323
extern char *cblas_rout;
2424
if (cblas_lerr == 1 ) {
25-
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", cblas_info, cblas_rout);
25+
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", (int) cblas_info, cblas_rout);
2626
cblas_ok = 0 ;
2727
}
2828
cblas_lerr = 1 ;

CBLAS/testing/c_s2chke.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void chkxer(void) {
2222
extern CBLAS_INT link_xerbla;
2323
extern char *cblas_rout;
2424
if (cblas_lerr == 1 ) {
25-
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", cblas_info, cblas_rout);
25+
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", (int) cblas_info, cblas_rout);
2626
cblas_ok = 0 ;
2727
}
2828
cblas_lerr = 1 ;

CBLAS/testing/c_s3chke.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void chkxer(void) {
2222
extern CBLAS_INT link_xerbla;
2323
extern char *cblas_rout;
2424
if (cblas_lerr == 1 ) {
25-
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", cblas_info, cblas_rout);
25+
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", (int) cblas_info, cblas_rout);
2626
cblas_ok = 0 ;
2727
}
2828
cblas_lerr = 1 ;

CBLAS/testing/c_xerbla.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void cblas_xerbla(CBLAS_INT info, const char *rout, const char *form, ...)
8383
}
8484

8585
if (info != cblas_info){
86-
printf("***** XERBLA WAS CALLED WITH INFO = %" CBLAS_IFMT " INSTEAD OF %d in %s *******\n",info, cblas_info, rout);
86+
printf("***** XERBLA WAS CALLED WITH INFO = %" CBLAS_IFMT " INSTEAD OF %d in %s *******\n",info, (int) cblas_info, rout);
8787
cblas_lerr = PASSED;
8888
cblas_ok = FALSE;
8989
} else cblas_lerr = FAILED;

CBLAS/testing/c_z2chke.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void chkxer(void) {
2222
extern CBLAS_INT link_xerbla;
2323
extern char *cblas_rout;
2424
if (cblas_lerr == 1 ) {
25-
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", cblas_info, cblas_rout);
25+
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", (int) cblas_info, cblas_rout);
2626
cblas_ok = 0 ;
2727
}
2828
cblas_lerr = 1 ;

CBLAS/testing/c_z3chke.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void chkxer(void) {
2222
extern CBLAS_INT link_xerbla;
2323
extern char *cblas_rout;
2424
if (cblas_lerr == 1 ) {
25-
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", cblas_info, cblas_rout);
25+
printf("***** ILLEGAL VALUE OF PARAMETER NUMBER %d NOT DETECTED BY %s *****\n", (int) cblas_info, cblas_rout);
2626
cblas_ok = 0 ;
2727
}
2828
cblas_lerr = 1 ;

0 commit comments

Comments
 (0)