Branch: Tag:

2020-10-27

2020-10-27 13:33:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.XCF: Fix warning about cast() being private.

1490:       start_new_program();    ADD_STORAGE( struct substring ); -  ADD_FUNCTION("cast", f_substring_cast, tFunc(tStr,tStr), ID_PRIVATE); +  ADD_FUNCTION("cast", f_substring_cast, tFunc(tStr,tStr), ID_PROTECTED);    ADD_FUNCTION("`[]", f_substring_index, tFunc(tInt,tInt), 0);    ADD_FUNCTION("get_short", f_substring_get_short, tFunc(tInt,tInt), 0 );    ADD_FUNCTION("get_ushort", f_substring_get_ushort, tFunc(tInt,tInt), 0 );