diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | pango/pangowin32-fontcache.c | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +2008-09-08 Tor Lillqvist <tml@novell.com> + + Bug 551416 - pangowin32-fontcache.c: argument is different type + + * pango/pangowin32-fontcache.c: Pass address of int to + g_atomic_int_inc(). + 2008-09-08 Behdad Esfahbod <behdad@gnome.org> * === Released 1.21.6 === diff --git a/pango/pangowin32-fontcache.c b/pango/pangowin32-fontcache.c index 577e3b85..cc389eef 100644 --- a/pango/pangowin32-fontcache.c +++ b/pango/pangowin32-fontcache.c @@ -232,7 +232,7 @@ pango_win32_font_cache_loadw (PangoWin32FontCache *cache, if (entry) { - g_atomic_int_inc (entry->ref_count); + g_atomic_int_inc (&entry->ref_count); PING (("increased refcount for cache entry %p: %d", entry->hfont, entry->ref_count)); } else @@ -383,7 +383,7 @@ pango_win32_font_cache_loadw (PangoWin32FontCache *cache, } else { - g_atomic_int_inc (entry->ref_count); + g_atomic_int_inc (&entry->ref_count); /* Insert into the mru list */ |