gs: fix truetype interpreter for amd64

This commit is contained in:
cinap_lenrek 2014-05-04 23:31:59 +02:00
parent 3f1e6903d6
commit 9cc9d6113c
2 changed files with 4 additions and 4 deletions

View file

@ -47,6 +47,8 @@ typedef int16_t F2Dot14; /* 2.14 16-bit signed fixed-point number */
typedef int32_t F26Dot6; /* 26.6 32-bit signed fixed-point number */
#endif
#pragma pack on
typedef struct {
uint32 bc;
uint32 ad;
@ -349,4 +351,6 @@ typedef struct FontTableInfo {
#define RAW_TRUE_TYPE_SIZE 512
#pragma pack off
#endif

View file

@ -118,11 +118,7 @@
#endif
#ifdef Plan9
#ifdef Tamd64
typedef unsigned long long* PStorage;
#else
typedef unsigned int* PStorage;
#endif
#elif ARCH_SIZEOF_PTR == SIZEOF_LONG
typedef long* PStorage;
#elif ARCH_SIZEOF_PTR == SIZEOF_INT