print/bibview: add missing casts to fix build with llvm22

The implicit casts are already protected by class checks.
This commit is contained in:
naddy
2026-06-16 14:40:25 +00:00
parent 8d35407a98
commit 34814184c6
2 changed files with 17 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
Index: ComboBo.c
--- ComboBo.c.orig
+++ ComboBo.c
@@ -768,5 +768,5 @@ ComboBoxSetString(fnw, dir)
}
strcpy(CurrentDir(fnw), dir);
- ChangeDirectory(fnw, 0);
+ ChangeDirectory((ComboBoxWidget) fnw, 0);
}
+7
View File
@@ -36,3 +36,10 @@ Index: FileNom.c
if (num <= 0)
{
@@ -1145,5 +1145,5 @@ FileNominatorSetDirectory(fnw, dir)
strcat(CurrentDir(fnw), "/");
}
- ChangeDirectory(fnw, 0);
+ ChangeDirectory((FileNominatorWidget) fnw, 0);
}