mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed compiler warning
This commit is contained in:
parent
a150f3bae7
commit
3fb85fa65f
@ -28556,7 +28556,7 @@ void decode_post(char *logbook, LOGBOOK *lbs, char *string, const char *boundary
|
||||
return;
|
||||
}
|
||||
/* replace non-ASCII characters */
|
||||
for (int i=0 ; i<strlen(file_name) ; i++)
|
||||
for (int i=0 ; i<(int)strlen(file_name) ; i++)
|
||||
if (file_name[i] < ' ' || file_name[i] > 'z')
|
||||
file_name[i] = '_';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user