diff options
author | Jorawar Singh | 2017-07-04 15:14:46 +0530 |
---|---|---|
committer | Jorawar Singh | 2017-07-04 15:14:46 +0530 |
commit | 121b455e1e46617c670a8b9dfa77bbb1aa97a51a (patch) | |
tree | d4ebfb141c8036c3d59c0ac9007003f79ed68d02 /src/c/string/strcspn/gstrcspna.c | |
parent | a3dfa2a4069740517ca6e83f99dd4e0dbb71c377 (diff) | |
download | scilab2c-121b455e1e46617c670a8b9dfa77bbb1aa97a51a.tar.gz scilab2c-121b455e1e46617c670a8b9dfa77bbb1aa97a51a.tar.bz2 scilab2c-121b455e1e46617c670a8b9dfa77bbb1aa97a51a.zip |
Fixed standalone conversion errors with RPi files
Diffstat (limited to 'src/c/string/strcspn/gstrcspna.c')
-rw-r--r-- | src/c/string/strcspn/gstrcspna.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/c/string/strcspn/gstrcspna.c b/src/c/string/strcspn/gstrcspna.c index 0d8de11b..2871d336 100644 --- a/src/c/string/strcspn/gstrcspna.c +++ b/src/c/string/strcspn/gstrcspna.c @@ -15,9 +15,11 @@ uint8 gstrcspna(char *str1,int size1,char *str2,int size2) { int ind; - for(int i=0;i<=size1;i++) + int i; + int j; + for(i=0;i<=size1;i++) { - for(int j=0;j<=size2;j++) + for(j=0;j<=size2;j++) { if(str2[j]==str1[i]) { |