]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r298530:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 29 Apr 2016 02:56:03 +0000 (02:56 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 29 Apr 2016 02:56:03 +0000 (02:56 +0000)
commit3a05bbd9959eba04b001541fa3d574fdb708a744
tree6b4db82cc4ad7e2224d5090a6e930e9d9372b4e8
parent462d6a8eb61ae8ff15525741a2f75ae453e9485f
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@298763 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/patch/pch.c