Up to [local] / src / usr.bin / getcap
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_1
Revision 1.7 / (download) - annotate - [select for diffs], Fri Jan 20 03:47:31 2017 UTC (7 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)
In "%.*s" the * takes (int). gcc whines if you try to use the result of pointer subtraction without a cast. So cast those expressions to (int). Switch one local variable to the same type as the parameter it is compared to. ok deraadt@ guenther@ beck@