Warning fixes

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@602 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aet 2002-05-13 12:23:21 +00:00
parent d9a788350d
commit e681dc4165
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}