[pkg-opensc-commit] [libp11] 77/239: avoid a compilation warning

Eric Dorland eric at moszumanska.debian.org
Sat Oct 17 06:21:11 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 7d967bcf7af7defb27ff6b86d7adf294c5e11922
Author: Jean-Pierre Szikora <jean-pierre.szikora at uclouvain.be>
Date:   Tue Nov 8 15:20:31 2005 +0000

    avoid a compilation warning
---
 examples/getrandom.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/examples/getrandom.c b/examples/getrandom.c
index b17f6f6..bc273aa 100644
--- a/examples/getrandom.c
+++ b/examples/getrandom.c
@@ -15,7 +15,8 @@ int main(int argc, char *argv[])
 	PKCS11_CTX *ctx;
 	PKCS11_SLOT *slots, *slot;
 	unsigned char random[10];
-	int rc = 0, i, len, nslots;
+	int rc = 0, i, len;
+	unsigned int nslots;
 
 	if (argc != 2) {
 		fprintf(stderr, "usage: getrandom /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