projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd6b5ad
)
awk: add a comment
author
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 5 Sep 2008 04:59:02 +0000
(
04:59
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 5 Sep 2008 04:59:02 +0000
(
04:59
-0000)
editors/awk.c
patch
|
blob
|
history
diff --git
a/editors/awk.c
b/editors/awk.c
index 74e3adce52f1018203762f17c6e2fc5281db5570..6ebdec4d320c715ae0ba1599a377cdb5be71c78d 100644
(file)
--- 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);
}