Fixed a lot of single-type gcc warning:
warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
FYI, "-Wcast-qual" is not a default option.
The main idea: If some function receives "const void*"
why should it operate with "void*" (or something) afterwards (after casting)?
Yet another fixes portion for "-Wcast-qual" warning.
But they look a bit different.
Merge pull request #81 from laborer2008/master

Fixed -Wcast-qual gcc warnings