MFC r298530: patch(1): avoid signed integer overflow when debugging.
Integer i is used to index p_end of type LINENUM (actually long). Match the types.