Changeset 3510 for trunk/src/tools/opensc-explorer.c
- Timestamp:
- 05/05/08 15:00:01 (7 months ago)
- Files:
-
- 1 modified
-
trunk/src/tools/opensc-explorer.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tools/opensc-explorer.c
r3405 r3510 130 130 } else { 131 131 /* file id */ 132 int buf[2];132 unsigned int buf[2]; 133 133 u8 cbuf[2]; 134 134 … … 535 535 goto usage; 536 536 /* %z isn't supported everywhere */ 537 if (sscanf(argv[1], "% d", &size) != 1)537 if (sscanf(argv[1], "%u", &size) != 1) 538 538 goto usage; 539 539 file = sc_file_new(); … … 565 565 if (arg_to_path(argv[0], &path, 1) != 0) 566 566 goto usage; 567 if (sscanf(argv[1], "% d", &size) != 1)567 if (sscanf(argv[1], "%u", &size) != 1) 568 568 goto usage; 569 569 file = sc_file_new();
