diff options
author | Jorawar Singh | 2017-07-04 15:14:46 +0530 |
---|---|---|
committer | Jorawar Singh | 2017-07-04 15:14:46 +0530 |
commit | 8889f4a5edad040f47c3fcb717053352ab0d05b8 (patch) | |
tree | 749b476d7653774c918af42ebd952d4050ed49b6 /2.3-1/src/c/string/strcspn/gstrcspna.c | |
parent | c66867c874436fb37ef54c67b048885ce094e894 (diff) | |
download | Scilab2C-8889f4a5edad040f47c3fcb717053352ab0d05b8.tar.gz Scilab2C-8889f4a5edad040f47c3fcb717053352ab0d05b8.tar.bz2 Scilab2C-8889f4a5edad040f47c3fcb717053352ab0d05b8.zip |
Fixed standalone conversion errors with RPi files
Diffstat (limited to '2.3-1/src/c/string/strcspn/gstrcspna.c')
-rw-r--r-- | 2.3-1/src/c/string/strcspn/gstrcspna.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/2.3-1/src/c/string/strcspn/gstrcspna.c b/2.3-1/src/c/string/strcspn/gstrcspna.c index 0d8de11b..2871d336 100644 --- a/2.3-1/src/c/string/strcspn/gstrcspna.c +++ b/2.3-1/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]) { |