Fix mixed declaration/code warning
Fix types of RGB colors.
Fix unused parameter warning