summaryrefslogtreecommitdiffhomepage
path: root/editors/awk.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-09-05 04:59:02 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-09-05 04:59:02 +0000
commit665eaff3b1875a2178f9322a6aded06751b4631e (patch)
treea1c090f61a3b2fdb14e5e4927a56744ae62cb7b4 /editors/awk.c
parentfd6b5ad13793428bb5336eb93184609210e607f3 (diff)
awk: add a comment
Diffstat (limited to 'editors/awk.c')
-rw-r--r--editors/awk.c1
1 files changed, 1 insertions, 0 deletions
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);
}