Thinking about it again, I think the cast should be at the free call, so that the rest of the code still works with const gcar, making it harder to accidentally change the buffers.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/1126#issuecomment-231462524
