Minor warning fix in the structured learning framework.
Comparison between signed and unsigned integers.
Merge pull request #1535 from iglesias/feature/fix_warning

Minor warning fix in the structured learning framework.