GNOME Bugzilla – Bug 551416
pangowin32-fontcache.c: argument is different type
Last modified: 2008-09-08 20:20:07 UTC
Please describe the problem: The argument of g_atomic_int_inc is 'volatile gint *'. But g_atomic_int_inc is called with 'gint' in pangowin32-fontcache.c. Steps to reproduce: 1. compile pangowin32-fontcache.c Actual results: Following messages are displayed.(Visual C++) pangowin32-fontcache.c(235) : error C4047: 'function' : 'volatile gint *' differs in levels of indirection from 'gint' pangowin32-fontcache.c(386) : error C4047: 'function' : 'volatile gint *' differs in levels of indirection from 'gint' Expected results: The argument of g_atomic_int_inc should be pointer. For example, "g_atomic_int_inc (&entry->ref_count);". Does this happen every time? Revision 2705 or later Other information:
Thanks. Fixed in trunk.