WRG: add static cast from size_t to gl types

22 jobs for !696 with fix_warnings in 71 minutes and 52 seconds (queued for 3 seconds)
merge request