From 665eaff3b1875a2178f9322a6aded06751b4631e Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 5 Sep 2008 04:59:02 +0000 Subject: awk: add a comment --- editors/awk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/editors/awk.c b/editors/awk.c index 74e3adce5..6ebdec4d3 100644 --- a/editors/awk.c +++ b/editors/awk.c @@ -825,6 +825,7 @@ static unsigned long getvar_i_int(var *v) * of target type range. Try to widen it as much as possible */ if (d >= 0) return (unsigned long)d; + /* Why? Think about d == -4294967295.0 (assuming 32bit longs) */ return - (long) (unsigned long) (-d); } -- cgit v1.2.3