[pkg-opensc-commit] [libp11] 61/239: nslots, ncerts, siglen are _unsigned_ int (avoids 3 compiler warnings)
Eric Dorland
eric at moszumanska.debian.org
Sat Oct 17 06:21:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository libp11.
commit ce8b9a1e923e7ced9808bd5dccf308fe81267a9e
Author: Ludovic Rousseau <ludovic.rousseau+github at gmail.com>
Date: Tue Oct 18 13:35:38 2005 +0000
nslots, ncerts, siglen are _unsigned_ int (avoids 3 compiler warnings)
---
examples/auth.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/examples/auth.c b/examples/auth.c
index 0bd9c2e..22ef616 100644
--- a/examples/auth.c
+++ b/examples/auth.c
@@ -32,7 +32,8 @@ int main(int argc, char *argv[])
unsigned char *random, *signature;
char password[20];
- int rc = 0, fd, i, len, nslots, ncerts, siglen;
+ int rc = 0, fd, i, len;
+ unsigned int nslots, ncerts, siglen;
if (argc != 2) {
fprintf(stderr, "usage: auth /usr/lib/opensc-pkcs11.so\n");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/libp11.git
More information about the pkg-opensc-commit
mailing list