Skip to content

Commit

Permalink
Change printf() %d to %zd per review per comment
Browse files Browse the repository at this point in the history
  • Loading branch information
davidBar-On committed Feb 16, 2024
1 parent a181adc commit 1ccc06f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ AC_CACHE_CHECK([Size of long int],
[iperf3_cv_sizeof_long],
AC_RUN_IFELSE(
[AC_LANG_PROGRAM([[#include <stdio.h>]],
[[fprintf(stderr, "%d", sizeof(long)); return(0)]])],
[[fprintf(stderr, "%zd", sizeof(long)); return(0)]])],
[iperf3_cv_sizeof_long=`./conftest$EXEEXT 2>&1`],
[AC_MSG_ERROR(Failed to compile and run size of long test)]))
AC_DEFINE_UNQUOTED([SIZE_OF_LONG_INT], $iperf3_cv_sizeof_long, [Size of long int.])
Expand Down

0 comments on commit 1ccc06f

Please sign in to comment.