summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenis Vlasenko2008-09-05 04:59:02 +0000
committerDenis Vlasenko2008-09-05 04:59:02 +0000
commit665eaff3b1875a2178f9322a6aded06751b4631e (patch)
treea1c090f61a3b2fdb14e5e4927a56744ae62cb7b4 /editors
parentfd6b5ad13793428bb5336eb93184609210e607f3 (diff)
downloadbusybox-665eaff3b1875a2178f9322a6aded06751b4631e.zip
busybox-665eaff3b1875a2178f9322a6aded06751b4631e.tar.gz
awk: add a comment
Diffstat (limited to 'editors')
-rw-r--r--editors/awk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/awk.c b/editors/awk.c
index 74e3adc..6ebdec4 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);
}