Skip to content

Commit b3d646b

Browse files
committed
Fix warning about signed/unsigned mismatch in while (++i<numdim)
1 parent 003ce73 commit b3d646b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/compiler/sc1.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3925,7 +3925,7 @@ static void funcstub(int fnative)
39253925
if (numdim!=sym->child->dim.array.level+1) {
39263926
error(25); /* function heading differs from prototype */
39273927
} else {
3928-
unsigned int i=0;
3928+
int i=0;
39293929
sub=sym->child;
39303930
do {
39313931
if (dim[i]!=sub->dim.array.length) {

0 commit comments

Comments
 (0)