fix warning on comparison in DS
Merge pull request #212 from birarda/master

fix warning on comparison in DS