Fix Casts

Use const_cast<> to avoid cast-away-const errors.
Fix Casting

Stop a gcc warning about casting away const.
Fix More Casts

Fix another cast-away-const cast.
Fix Casting Bug

Add a const version of getFpValPtr to avoid a cast-away-const warning.
Fix Another Cast

Properly cast code to eliminate cast-away-const errors.
Fix More Casts

Properly cast some more code that triggered cast-away-const errors.
Fix Casting

Do proper casting to eliminate a const-away-cast compiler warning.
Fix Casting

Fix a casting-away-const compiler warning.