[Pcsclite-cvs-commit] r462 - /trunk/muscleTool/muscleTool.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Fri Nov 13 12:38:10 UTC 2009
Author: rousseau
Date: Fri Nov 13 12:38:10 2009
New Revision: 462
URL: http://svn.debian.org/wsvn/muscleapps/?sc=1&rev=462
Log:
muscleTool.c:555: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘MSCULong32’
muscleTool.c:4041: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘MSCULong32’
muscleTool.c:4042: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘MSCULong32’
muscleTool.c:4044: warning: format ‘%04x’ expects type ‘unsigned int’, but argument 2 has type ‘long unsigned int’
muscleTool.c:4045: warning: format ‘%04x’ expects type ‘unsigned int’, but argument 2 has type ‘long unsigned int’
muscleTool.c:4046: warning: format ‘%04x’ expects type ‘unsigned int’, but argument 2 has type ‘long unsigned int’
Modified:
trunk/muscleTool/muscleTool.c
Modified: trunk/muscleTool/muscleTool.c
URL: http://svn.debian.org/wsvn/muscleapps/trunk/muscleTool/muscleTool.c?rev=462&op=diff
==============================================================================
--- trunk/muscleTool/muscleTool.c (original)
+++ trunk/muscleTool/muscleTool.c Fri Nov 13 12:38:10 2009
@@ -552,7 +552,7 @@
for (i = 0; i < tokenSize; i++)
{
- printf(" %d. %s\n", i + 1, tokenList[i].tokenName);
+ printf(" %ld. %s\n", i + 1, tokenList[i].tokenName);
}
printf("\n");
printf("ListTokens Success.\n");
@@ -4038,12 +4038,12 @@
#ifdef VERSION2
printf("Admin unblock PIN : %s (%d tries)\n", adminUnblockPIN, adminUnblockPINTries);
#endif
- printf("User PIN : %s (%d tries)\n", userPIN, userPINTries);
- printf("User unblock PIN : %s (%d tries)\n", userUnblockPIN, userUnblockPINTries);
+ printf("User PIN : %s (%ld tries)\n", userPIN, userPINTries);
+ printf("User unblock PIN : %s (%ld tries)\n", userUnblockPIN, userUnblockPINTries);
printf("Object memory : %ld bytes\n", memoryAlloc);
- printf("Create object ACL : 0x%04x\n", objectACL);
- printf("Create key ACL : 0x%04x\n", keyACL);
- printf("Create PIN ACL : 0x%04x\n", pinACL);
+ printf("Create object ACL : 0x%04lx\n", objectACL);
+ printf("Create key ACL : 0x%04lx\n", keyACL);
+ printf("Create PIN ACL : 0x%04lx\n", pinACL);
#ifdef VERSION2
if (pinPolicyChoice == 1)
{
More information about the Pcsclite-cvs-commit
mailing list