flags should be stored in a 'unsigned int' (at least this seems to be

the convention in libopensc) => change tokenInfo flags from
'unsigned long' to 'unsigned int'


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1936 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
nils 2004-10-17 16:46:34 +00:00
parent 2c0781335c
commit 5b4730dabd
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ typedef struct sc_pkcs15_card {
/* fields from TokenInfo: */
int version;
char *serial_number, *manufacturer_id;
unsigned long flags;
unsigned int flags;
struct sc_pkcs15_algorithm_info alg_info[1];
sc_file_t *file_app;