fix signed vs. unsigned mismatch

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1934 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
nils 2004-10-17 16:20:46 +00:00
parent f318fec2b0
commit 2c0781335c

View File

@ -334,7 +334,7 @@ struct sc_file * sc_file_new()
void sc_file_free(struct sc_file *file)
{
int i;
unsigned int i;
assert(sc_file_valid(file));
file->magic = 0;
for (i = 0; i < SC_MAX_AC_OPS; i++)
@ -352,7 +352,7 @@ void sc_file_dup(struct sc_file **dest, const struct sc_file *src)
{
struct sc_file *newf;
const struct sc_acl_entry *e;
int op;
unsigned int op;
assert(sc_file_valid(src));
*dest = NULL;