Changeset 3510 for trunk/src/libopensc/muscle.c
- Timestamp:
- 05/05/08 13:00:01 (8 months ago)
- Files:
-
- 1 modified
-
trunk/src/libopensc/muscle.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libopensc/muscle.c
r3148 r3510 317 317 { 318 318 assert(buffer); 319 assert(bufferLength >= pinLength);319 assert(bufferLength >= (size_t)pinLength); 320 320 assert(pinLength <= MSC_MAX_PIN_LENGTH); 321 321 … … 361 361 { 362 362 assert(buffer); 363 assert(bufferLength >= pukLength);363 assert(bufferLength >= (size_t)pukLength); 364 364 assert(pukLength <= MSC_MAX_PIN_LENGTH); 365 365 … … 407 407 assert(newPinLength <= MSC_MAX_PIN_LENGTH); 408 408 assert(buffer); 409 assert(bufferLength >= pinLength + newPinLength + 2 );409 assert(bufferLength >= pinLength + newPinLength + 2UL); 410 410 411 411 truncatePinNulls(pinValue, &pinLength); … … 807 807 size_t outputDataLength) 808 808 { 809 int left = dataLength;809 size_t left = dataLength; 810 810 const u8* inPtr = data; 811 811 u8* outPtr = outputData;
