summaryrefslogtreecommitdiff
path: root/pango/pangowin32-fontcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pangowin32-fontcache.c')
-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 */