[Pkg-wmaker-commits] [wmbiff] 02/07: avoid compiler warning from inconsistent def of size_t as passed into printf
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:04:40 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to tag wmbiff_0_4_19
in repository wmbiff.
commit eb9cafdc838287681f0aa5bbde8dad0041325bee
Author: bluehal <bluehal>
Date: Sat Nov 8 23:44:25 2003 +0000
avoid compiler warning from inconsistent def of size_t as passed into printf
---
wmbiff/passwordMgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wmbiff/passwordMgr.c b/wmbiff/passwordMgr.c
index 132081e..1745a71 100644
--- a/wmbiff/passwordMgr.c
+++ b/wmbiff/passwordMgr.c
@@ -191,7 +191,7 @@ static void get_password_from_command(Pop3 pc, const char *username,
if (password[*password_len - 1] != '\0') {
DM(pc, DEBUG_ERROR,
"passmgr: warning: your password appears longer (%lu) than expected (%d)\n",
- strlen(password_ptr), *password_len - 1);
+ (unsigned long) strlen(password_ptr), *password_len - 1);
}
free(password_ptr);
password[*password_len - 1] = '\0';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git
More information about the Pkg-wmaker-commits
mailing list