Generator: Fixed a warning regarding class/struct.

Obtained with Clang 3.0 with -Wextra.