From 3279fbbb9e0f3744623fbb6a2d658d6ff5ab3f0d Mon Sep 17 00:00:00 2001 From: Dave Olson Date: Fri, 19 Aug 2016 23:57:42 -0700 Subject: Fix 32-bit system build error size_t is only an int on 32 bit ARM, so %ld gives an error. Add a cast. --- debian/control | 2 +- debian/copyright | 2 +- debian/source/format | 2 +- nss_tacplus.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/control b/debian/control index abad701..3d95156 100644 --- a/debian/control +++ b/debian/control @@ -1,6 +1,6 @@ Source: libnss-tacplus Priority: optional -Maintainer: devsupport +Maintainer: Dave Olson Build-Depends: debhelper (>= 9), autotools-dev, libtac-dev, libtacplus-map-dev, libaudit-dev, autoconf, libpam-tacplus-dev, dpkg-dev (>= 1.16.1) Section: libs Standards-Version: 3.9.6 diff --git a/debian/copyright b/debian/copyright index 7583e7a..0cca9f3 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,6 +1,6 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libnss-tacplus -Homepage: http://cumulusnetworks.com +Source: http://www.cumulusnetworks.com Files: * Copyright: 2010 Pawel Krawczyk and Jeroen Nijhof , diff --git a/debian/source/format b/debian/source/format index af745b3..d3827e7 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -3.0 (git) +1.0 diff --git a/nss_tacplus.c b/nss_tacplus.c index f925124..4b3bf75 100644 --- a/nss_tacplus.c +++ b/nss_tacplus.c @@ -212,7 +212,7 @@ pwcopy(char *buf, size_t len, struct passwd *srcpw, struct passwd *destpw, if(needlen > len) { if(debug) syslog(LOG_DEBUG, "%s provided password buffer too small (%ld<%d)", - nssname, len, needlen); + nssname, (long)len, needlen); return 1; } -- cgit v1.2.3