Fix implicit int and incompatible pointer errors
Compare changes
+ 1
− 0
@@ -59,6 +59,7 @@ prepare() {
Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
Fixes the following errors:
vinagre/vinagre-tube-handler.c:115:17: error: assignment to ‘TpChannel *’ {aka ‘struct _TpChannel *’} from incompatible pointer type ‘void **’ [-Wincompatible-pointer-types]
115 | priv->channel = g_object_ref (channel);
| ^
plugins/rdp/vinagre-rdp-plugin.c:237:12: error: type defaults to ‘int’ in declaration of ‘dontoptimiseaway’ [-Wimplicit-int]
237 | volatile dontoptimiseaway = vinagre_rdp_plugin_get_type ();
| ^~~~~~~~~~~~~~~~