summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2008-09-08 20:19:49 +0000
committerTor Lillqvist <tml@src.gnome.org>2008-09-08 20:19:49 +0000
commit465f5a09a48096857809d6c210d8ea26ae1d92d8 (patch)
treebf622b32b791df959a7bd7c3db088beee630ad2a /pango
parent60ec3c12faedc007977901602e593ce562e368f3 (diff)
downloadpango-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')
-rw-r--r--pango/pangowin32-fontcache.c4
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 */