see if this resolves a warning about comparing different sized integers
more tweaking on a syntax error