summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pcf/pcf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pcf/pcf.h b/src/pcf/pcf.h
index f0390cb1e..98fbf63a3 100644
--- a/src/pcf/pcf.h
+++ b/src/pcf/pcf.h
@@ -177,9 +177,9 @@ FT_BEGIN_HEADER
#define LSBFirst 0
#define MSBFirst 1
-#define PCF_FILE_VERSION ( ( 'p' << 24 ) | \
- ( 'c' << 16 ) | \
- ( 'f' << 8 ) | 1 )
+#define PCF_FILE_VERSION ( ((FT_UInt32)'p' << 24 ) | \
+ ((FT_UInt32)'c' << 16 ) | \
+ ((FT_UInt32)'f' << 8 ) | (FT_UInt32)1 )
#define PCF_FORMAT_MASK 0xFFFFFF00UL
#define PCF_DEFAULT_FORMAT 0x00000000UL