[pkg-opensc-commit] [pkcs11-helper] 108/253: Fix printf size_t format

Eric Dorland eric at moszumanska.debian.org
Fri Jan 6 23:39:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository pkcs11-helper.

commit 434af7ef2430a65ca9cc814fa709f45d21d54d40
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date:   Wed Jun 13 15:50:46 2007 +0000

    Fix printf size_t format
---
 acinclude.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/acinclude.m4 b/acinclude.m4
index d673b4e..102fe7a 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -53,9 +53,9 @@ AC_DEFUN([AX_SIZE_T_PRINTF], [dnl
 	AC_CHECK_SIZEOF([size_t])dnl
 	AC_MSG_CHECKING([size_t printf format])
 	if test ${ac_cv_sizeof_size_t} = 4; then
-		ax_cv_printf_z_format="%x"
+		ax_cv_printf_z_format="%08x"
 	else
-		ax_cv_printf_z_format="%lx"
+		ax_cv_printf_z_format="%016lx"
 	fi
 	AC_MSG_RESULT([${ax_cv_printf_z_format}])dnl
 	AC_DEFINE_UNQUOTED(

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/pkcs11-helper.git



More information about the pkg-opensc-commit mailing list