Re: GCC4 and building gnome-vfs



fre, 08,.04.2005 kl. 15.08 +0200, skrev Kjartan Maraas:
> @@ -510,10 +510,10 @@ unicast_browse_sync (const char *domain,
>                         
>                         split_service_instance (name, ptr_service, ptr_type, ptr_domain);
>  
> -                       if (is_valid_dns_sd_type (ptr_type)) {
> -                               service.name = g_strdup (ptr_service);
> -                               service.type = g_strdup (ptr_type);
> -                               service.domain = g_strdup (ptr_domain);
> +                       if (is_valid_dns_sd_type ((char *)ptr_type)) {
> +                               service.name = g_strdup ((char *)ptr_service);
> +                               service.type = g_strdup ((char *)ptr_type);
> +                               service.domain = g_strdup ((char *)ptr_domain);
>  
>                                 g_array_append_val(array, service);
>                         }

This hunk is obviously not needed since the function was changed to take
char * args.

Cheers
Kjartan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]