diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-11-17 18:54:08 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-11-17 18:54:08 +0100 |
commit | 14815d8067cdc87b3e6c2fbf8ca20459e28577d3 (patch) | |
tree | 5d362edf0c321e7adad3a106ea4c82528505ab7e /lib/ASN1.c | |
parent | ca4aa9601739ac41bcba0baa7bec32970418cd89 (diff) | |
download | libtasn1-14815d8067cdc87b3e6c2fbf8ca20459e28577d3.tar.gz libtasn1-14815d8067cdc87b3e6c2fbf8ca20459e28577d3.tar.bz2 libtasn1-14815d8067cdc87b3e6c2fbf8ca20459e28577d3.zip |
Fix warnings.
Diffstat (limited to 'lib/ASN1.c')
-rw-r--r-- | lib/ASN1.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2384,6 +2384,7 @@ _asn1_yylex() { int c,counter=0,k,lastc; char string[ASN1_MAX_NAME_SIZE+1]; /* will contain the next token */ + size_t i; while(1) { @@ -2450,8 +2451,8 @@ _asn1_yylex() } /* Is STRING a keyword? */ - for(k=0;k<(sizeof(key_word)/sizeof(char*));k++) - if(!strcmp(string,key_word[k])) return key_word_token[k]; + for(i=0;i<(sizeof(key_word)/sizeof(char*));i++) + if(!strcmp(string,key_word[i])) return key_word_token[i]; /* STRING is an IDENTIFIER */ strcpy(yylval.str,string); |