[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 07c8d8b: Minor fixes for recent compilers.
From: |
Werner LEMBERG |
Subject: |
[freetype2] master 07c8d8b: Minor fixes for recent compilers. |
Date: |
Sat, 23 Nov 2019 04:00:35 -0500 (EST) |
branch: master
commit 07c8d8bbdb0489de06f4d019a2872f4e372e1d73
Author: Behdad Esfahbod <address@hidden>
Commit: Werner Lemberg <address@hidden>
Minor fixes for recent compilers.
* src/gzip/infutil.h (inflate_mask): Add `const'.
* src/autofit/aflatin2.c: Include `ft2build.h'.
---
ChangeLog | 8 ++++++++
src/autofit/aflatin2.c | 1 +
src/gzip/infutil.h | 2 +-
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index c681035..78bd146 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2019-11-23 Behdad Esfahbod <address@hidden>
+
+ Minor fixes for recent compilers.
+
+ * src/gzip/infutil.h (inflate_mask): Add `const'.
+
+ * src/autofit/aflatin2.c: Include `ft2build.h'.
+
2019-11-07 Nikolaus Waxweiler <address@hidden>
* CMakeLists.txt: Minor additions to the notes, compile
diff --git a/src/autofit/aflatin2.c b/src/autofit/aflatin2.c
index c601ab8..dab86dd 100644
--- a/src/autofit/aflatin2.c
+++ b/src/autofit/aflatin2.c
@@ -21,6 +21,7 @@
*/
+#include <ft2build.h>
#include FT_ADVANCES_H
diff --git a/src/gzip/infutil.h b/src/gzip/infutil.h
index 7174b6d..cdf18b4 100644
--- a/src/gzip/infutil.h
+++ b/src/gzip/infutil.h
@@ -86,7 +86,7 @@ struct inflate_blocks_state {
/* masks for lower bits (size given to avoid silly warnings with Visual C++) */
#ifndef NO_INFLATE_MASK
-local uInt inflate_mask[17];
+local const uInt inflate_mask[17];
#endif
/* copy as much as possible from the sliding window to the output area */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 07c8d8b: Minor fixes for recent compilers.,
Werner LEMBERG <=