[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] check-deprecated-warning-for-macosx aac3d34f2 5/5: configure
From: |
Werner Lemberg |
Subject: |
[freetype2] check-deprecated-warning-for-macosx aac3d34f2 5/5: configure.raw: use void* instead of SInt16* for actualRefNum for FSGetForkCBInfo() |
Date: |
Sun, 9 Oct 2022 05:59:31 -0400 (EDT) |
branch: check-deprecated-warning-for-macosx
commit aac3d34f2fb3130796b5f2f91c475f2cf8e59d0f
Author: suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
Commit: suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
configure.raw: use void* instead of SInt16* for actualRefNum for
FSGetForkCBInfo()
---
builds/unix/configure.raw | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
index be7492112..64307e482 100644
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -911,7 +911,14 @@ elif test "x${with_old_mac_fonts}" = "xyes" -a
"x${with_fsref}" != "xno"; then
UInt8* path;
SInt16 desiredRefNum;
SInt16* iterator;
- SInt16* actualRefNum;
+ void* actualRefNum = NULL;
+ /*
+ * FSGetForkCBInfo() 4th parameter actualRefNum
+ * should be typed as SInt16* until 10.4, and
+ * should be typed as FSIORefNum* since 10.5,
+ * but FSIORefNum was undefined before 10.5.
+ * ftmac.c always passes NULL for this parameter.
+ */
HFSUniStr255* outForkName;
FSVolumeRefNum volume;
FSCatalogInfoBitmap whichInfo;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] check-deprecated-warning-for-macosx aac3d34f2 5/5: configure.raw: use void* instead of SInt16* for actualRefNum for FSGetForkCBInfo(),
Werner Lemberg <=