Warning cleanup

This commit is contained in:
ridiculousfish
2012-07-28 17:49:46 -07:00
parent 1b8f1650dc
commit 2e1b3325c6
26 changed files with 94 additions and 126 deletions

View File

@@ -2350,7 +2350,7 @@ void parser_t::eval_job( tokenizer *tok )
{
if( job_start_pos < tok_get_pos( tok ) )
{
int stop_pos = tok_get_pos( tok );
long stop_pos = tok_get_pos( tok );
const wchar_t *newline = wcschr(tok_string(tok)+start_pos, L'\n');
if( newline )
stop_pos = mini( stop_pos, newline - tok_string(tok) );