diff options
author | Tor Lillqvist <tml@novell.com> | 2008-09-08 20:19:49 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2008-09-08 20:19:49 +0000 |
commit | 465f5a09a48096857809d6c210d8ea26ae1d92d8 (patch) | |
tree | bf622b32b791df959a7bd7c3db088beee630ad2a /pango/pangowin32-fontcache.c | |
parent | 60ec3c12faedc007977901602e593ce562e368f3 (diff) | |
download | pango-465f5a09a48096857809d6c210d8ea26ae1d92d8.tar.gz |
Bug 551416 - pangowin32-fontcache.c: argument is different type
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().
svn path=/trunk/; revision=2716
Diffstat (limited to 'pango/pangowin32-fontcache.c')
-rw-r--r-- | pango/pangowin32-fontcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |