diff options
author | Michael Natterer <mitch@gimp.org> | 2002-07-27 22:52:37 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2002-07-27 22:52:37 +0000 |
commit | cfd9bf4284de4e6a82f3b52f6b5e39f7205a6cac (patch) | |
tree | e3b00cc42bc96cb5f394efb7c240359de400436e | |
parent | eb180a94cfcbc9770f7a1490bb4f1969ccb17818 (diff) | |
download | pango-cfd9bf4284de4e6a82f3b52f6b5e39f7205a6cac.tar.gz |
added missing cast (ThaiFontInfo.info.face is just a gpointer, not an
2002-07-28 Michael Natterer <mitch@gimp.org>
* modules/thai/thai-xft.c (make_glyph): added missing cast
(ThaiFontInfo.info.face is just a gpointer, not an FT_Face)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-2 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-4 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 5 | ||||
-rw-r--r-- | modules/thai/thai-fc.c | 2 | ||||
-rw-r--r-- | modules/thai/thai-xft.c | 2 |
8 files changed, 32 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2002-07-28 Michael Natterer <mitch@gimp.org> + + * modules/thai/thai-xft.c (make_glyph): added missing cast + (ThaiFontInfo.info.face is just a gpointer, not an FT_Face) + Sat Jul 27 09:46:51 2002 Owen Taylor <otaylor@redhat.com> * modules/thai/{thai-shaper.[ch],thai-x.c,thai-xft.c} diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 253ad36b..83ce2b40 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,8 @@ +2002-07-28 Michael Natterer <mitch@gimp.org> + + * modules/thai/thai-xft.c (make_glyph): added missing cast + (ThaiFontInfo.info.face is just a gpointer, not an FT_Face) + Sat Jul 27 09:46:51 2002 Owen Taylor <otaylor@redhat.com> * modules/thai/{thai-shaper.[ch],thai-x.c,thai-xft.c} diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2 index 253ad36b..83ce2b40 100644 --- a/ChangeLog.pre-1-2 +++ b/ChangeLog.pre-1-2 @@ -1,3 +1,8 @@ +2002-07-28 Michael Natterer <mitch@gimp.org> + + * modules/thai/thai-xft.c (make_glyph): added missing cast + (ThaiFontInfo.info.face is just a gpointer, not an FT_Face) + Sat Jul 27 09:46:51 2002 Owen Taylor <otaylor@redhat.com> * modules/thai/{thai-shaper.[ch],thai-x.c,thai-xft.c} diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index 253ad36b..83ce2b40 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,3 +1,8 @@ +2002-07-28 Michael Natterer <mitch@gimp.org> + + * modules/thai/thai-xft.c (make_glyph): added missing cast + (ThaiFontInfo.info.face is just a gpointer, not an FT_Face) + Sat Jul 27 09:46:51 2002 Owen Taylor <otaylor@redhat.com> * modules/thai/{thai-shaper.[ch],thai-x.c,thai-xft.c} diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 253ad36b..83ce2b40 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,8 @@ +2002-07-28 Michael Natterer <mitch@gimp.org> + + * modules/thai/thai-xft.c (make_glyph): added missing cast + (ThaiFontInfo.info.face is just a gpointer, not an FT_Face) + Sat Jul 27 09:46:51 2002 Owen Taylor <otaylor@redhat.com> * modules/thai/{thai-shaper.[ch],thai-x.c,thai-xft.c} diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 253ad36b..83ce2b40 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,8 @@ +2002-07-28 Michael Natterer <mitch@gimp.org> + + * modules/thai/thai-xft.c (make_glyph): added missing cast + (ThaiFontInfo.info.face is just a gpointer, not an FT_Face) + Sat Jul 27 09:46:51 2002 Owen Taylor <otaylor@redhat.com> * modules/thai/{thai-shaper.[ch],thai-x.c,thai-xft.c} diff --git a/modules/thai/thai-fc.c b/modules/thai/thai-fc.c index 657a61c0..11fd7bff 100644 --- a/modules/thai/thai-fc.c +++ b/modules/thai/thai-fc.c @@ -183,7 +183,7 @@ make_glyph (ThaiFontInfo *font_info, unsigned char c) } index = FT_Get_Char_Index (font_info->info.face, index); - if (index && index <= font_info->info.face->num_glyphs) + if (index && index <= ((FT_Face) font_info->info.face)->num_glyphs) return index; else return 0; diff --git a/modules/thai/thai-xft.c b/modules/thai/thai-xft.c index 657a61c0..11fd7bff 100644 --- a/modules/thai/thai-xft.c +++ b/modules/thai/thai-xft.c @@ -183,7 +183,7 @@ make_glyph (ThaiFontInfo *font_info, unsigned char c) } index = FT_Get_Char_Index (font_info->info.face, index); - if (index && index <= font_info->info.face->num_glyphs) + if (index && index <= ((FT_Face) font_info->info.face)->num_glyphs) return index; else return 0; |