- fixed compiler warning

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1037 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
okir 2003-04-17 11:04:28 +00:00
parent 93edc07115
commit 6faee57a95
1 changed files with 2 additions and 1 deletions

View File

@ -110,7 +110,8 @@ CK_RV C_GetAttributeValue(CK_SESSION_HANDLE hSession, /* the session's handle
goto out;
/* Debug printf */
snprintf(object_name, sizeof(object_name), "Object %d", hObject);
snprintf(object_name, sizeof(object_name), "Object %lu",
(unsigned long) hObject);
res_type = 0;
for (i = 0; i < ulCount; i++) {