Removed superfluous const qualifier

to get rid of gcc warnings