Fix warnings.

This patch is available under the terms of the MIT license.