Fixed ambiguous layout warning.
Merge pull request #33 from tanB/ambiguous-layout-fix

Fixed ambiguous layout warning.