Replace 'uint' (non-standard, not supported by later gcc versions) with 'guint' from included glib.