Warning fixes
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@602 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
d9a788350d
commit
e681dc4165
|
@ -176,9 +176,9 @@ static int tcos_construct_fci(const struct sc_file *file,
|
|||
}
|
||||
else {
|
||||
/* TCOS needs one, so we use a faked one */
|
||||
snprintf (buf, sizeof(buf)-1, "foo-%lu",
|
||||
snprintf ((char *) buf, sizeof(buf)-1, "foo-%lu",
|
||||
(unsigned long) time (NULL));
|
||||
sc_asn1_put_tag(0x84, buf, strlen (buf), p, 16, &p);
|
||||
sc_asn1_put_tag(0x84, buf, strlen ((char *) buf), p, 16, &p);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue