-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ghostscript-agpl: fix macOS (with new-clang only?).
- Loading branch information
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
$NetBSD: patch-pdf_pdf__sec.c,v 1.1 2024/03/11 21:29:17 schmonz Exp $ | ||
|
||
Fix incompatible-pointer-types, int-conversion. | ||
|
||
--- pdf/pdf_sec.c.orig 2024-03-11 21:22:54.712613675 +0000 | ||
+++ pdf/pdf_sec.c | ||
@@ -183,8 +183,8 @@ static int apply_sasl(pdf_context *ctx, | ||
* this easy: the errors we want to ignore are the ones with | ||
* codes less than 100. */ | ||
if ((int)err < 100) { | ||
- NewPassword = Password; | ||
- NewLen = Len; | ||
+ NewPassword = &Password; | ||
+ NewLen = &Len; | ||
return 0; | ||
} | ||
|