[Mesa-dev] [PATCH 1/2] glsl: Use (const char *) in AST nodes rather than plain (char *).
eric at anholt.net
Fri Mar 30 07:49:15 PDT 2012
On Thu, 29 Mar 2012 23:17:31 -0700, Kenneth Graunke <kenneth at whitecape.org> wrote:
> Nothing actually relied on them being mutable, and there was at least
> one cast which discarded const qualifiers. The next patch would have
> introduced many more.
> Casting away const qualifiers should be avoided if at all possible.
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the mesa-dev