mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
print/bibview: add missing casts to fix build with llvm22
The implicit casts are already protected by class checks.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user