Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/openpam/dist/lib/libpam print the widest int



details:   https://anonhg.NetBSD.org/src/rev/6191c2d56ea5
branches:  trunk
changeset: 1007884:6191c2d56ea5
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Mar 03 00:45:37 2020 +0000

description:
print the widest int

diffstat:

 external/bsd/openpam/dist/lib/libpam/openpam_debug.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 2732cdae5441 -r 6191c2d56ea5 external/bsd/openpam/dist/lib/libpam/openpam_debug.h
--- a/external/bsd/openpam/dist/lib/libpam/openpam_debug.h      Tue Mar 03 00:45:21 2020 +0000
+++ b/external/bsd/openpam/dist/lib/libpam/openpam_debug.h      Tue Mar 03 00:45:37 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: openpam_debug.h,v 1.3 2017/05/06 19:50:09 christos Exp $       */
+/*     $NetBSD: openpam_debug.h,v 1.4 2020/03/03 00:45:37 christos Exp $       */
 
 /*-
  * Copyright (c) 2001-2003 Networks Associates Technology, Inc.
@@ -50,8 +50,8 @@
                openpam_log(PAM_LOG_LIBDEBUG, "entering: %d", i_); \
 } while (/*CONSTCOND*/0)
 #define ENTERN(n) do { \
-       int n_ = (n); \
-       openpam_log(PAM_LOG_LIBDEBUG, "entering: %d", n_); \
+       intmax_t n_ = (n); \
+       openpam_log(PAM_LOG_LIBDEBUG, "entering: %jd", n_); \
 } while (/*CONSTCOND*/0)
 #define ENTERS(s) do { \
        const char *s_ = (s); \



Home | Main Index | Thread Index | Old Index