Fixed build on 64bit systems (type mismatch in comparison)

This commit is contained in:
zx
2024-05-05 21:47:06 +03:00
parent ad1776c805
commit 634fc3e3e5
4 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ int main(int argc, char *argv[])
/* Initialise current locale */
(void)setlocale(LC_ALL, "");
while( (ch=getopt(argc, argv, "hrm")) != EOF )
while( (ch=getopt(argc, argv, "hrm")) != (char)-1 )
{
switch( ch ) {
case 'h':