Re: [Vala] strcmp : incompatible pointer type warning



bsquared <bwcode4u gmail com> writes:


vala:
        assert (strcmp (array.get_string_element (array.get_length () - 1), "hola") == 0);


vala snippet should have been:
        assert (strcmp (sf.get_string_field ("string_field"), "hola") == 0);


-- 
Regards,
Brian Winfrey




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