Diff

Differences From Artifact [b61b0b2a2f]:

To Artifact [7d1ac77f37]:


  2533   2533   				CACKEY_DEBUG_PRINTF(" ... returning %lu (%p/%lu)", (unsigned long) *((CK_BBOOL *) pValue), pValue, (unsigned long) ulValueLen);
  2534   2534   
  2535   2535   				break;
  2536   2536   			case CKA_LABEL:
  2537   2537   				CACKEY_DEBUG_PRINTF("Requesting attribute CKA_LABEL (0x%08lx) ...", (unsigned long) curr_attr_type);
  2538   2538   
  2539   2539   				/* XXX: Determine name */
  2540         -				ulValueLen = snprintf(ucTmpBuf, sizeof(ucTmpBuf), "Identity #%lu", (unsigned long) identity_num);
         2540  +				ulValueLen = snprintf((char *) ucTmpBuf, sizeof(ucTmpBuf), "Identity #%lu", (unsigned long) identity_num);
  2541   2541   				pValue = ucTmpBuf;
  2542   2542   
  2543   2543   				if (ulValueLen >= sizeof(ucTmpBuf)) {
  2544   2544   					ulValueLen = 0;
  2545   2545   					pValue = NULL;
  2546   2546   				}
  2547   2547