http://bugs.winehq.org/show_bug.cgi?id=17715
--- Comment #26 from Tobias Jakobi liquid.acid@gmx.net 2009-03-22 18:43:09 --- Could you elaborate on that?
How are plain variables and non-array types different from pointers and arrays? I have started with C++ myself and therefore I always try to constify most of my variables, of course when it makes sense to do so.
AFAIK constifying also gives the compiler more hints where to optimize code. Plus it helps against programming errors ("=" against "=="). Of course the programming errors argument doesn't really apply here because the function is very small.