summaryrefslogtreecommitdiff
path: root/package/busybox/patches/530-unsigned_bitwise_ops.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-05-25 13:52:31 +0000
committerNicolas Thill <nico@openwrt.org>2009-05-25 13:52:31 +0000
commit9a16485900651090129f6a1ede264702a862c387 (patch)
tree0bc4ebb8729e38bff019507b3775e5ec5be54b6e /package/busybox/patches/530-unsigned_bitwise_ops.patch
parent9e9ac96aeb2fff71b29828fd04c20569a775d3d6 (diff)
downloadmtk-20170518-9a16485900651090129f6a1ede264702a862c387.zip
mtk-20170518-9a16485900651090129f6a1ede264702a862c387.tar.gz
mtk-20170518-9a16485900651090129f6a1ede264702a862c387.tar.bz2
busybox: update to v1.12.4 (partially closes: #4279)
SVN-Revision: 16053
Diffstat (limited to 'package/busybox/patches/530-unsigned_bitwise_ops.patch')
-rw-r--r--package/busybox/patches/530-unsigned_bitwise_ops.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/package/busybox/patches/530-unsigned_bitwise_ops.patch b/package/busybox/patches/530-unsigned_bitwise_ops.patch
index 66ec574..e69de29 100644
--- a/package/busybox/patches/530-unsigned_bitwise_ops.patch
+++ b/package/busybox/patches/530-unsigned_bitwise_ops.patch
@@ -1,36 +0,0 @@
---- a/editors/awk.c
-+++ b/editors/awk.c
-@@ -2041,27 +2041,27 @@ static var *exec_builtin(node *op, var *
- break;
-
- case B_an:
-- setvar_i(res, (long)getvar_i(av[0]) & (long)getvar_i(av[1]));
-+ setvar_i(res, (unsigned long)getvar_i(av[0]) & (unsigned long)getvar_i(av[1]));
- break;
-
- case B_co:
-- setvar_i(res, ~(long)getvar_i(av[0]));
-+ setvar_i(res, ~(unsigned long)getvar_i(av[0]));
- break;
-
- case B_ls:
-- setvar_i(res, (long)getvar_i(av[0]) << (long)getvar_i(av[1]));
-+ setvar_i(res, (unsigned long)getvar_i(av[0]) << (unsigned long)getvar_i(av[1]));
- break;
-
- case B_or:
-- setvar_i(res, (long)getvar_i(av[0]) | (long)getvar_i(av[1]));
-+ setvar_i(res, (unsigned long)getvar_i(av[0]) | (unsigned long)getvar_i(av[1]));
- break;
-
- case B_rs:
-- setvar_i(res, (long)((unsigned long)getvar_i(av[0]) >> (unsigned long)getvar_i(av[1])));
-+ setvar_i(res, (unsigned long)getvar_i(av[0]) >> (unsigned long)getvar_i(av[1]));
- break;
-
- case B_xo:
-- setvar_i(res, (long)getvar_i(av[0]) ^ (long)getvar_i(av[1]));
-+ setvar_i(res, (unsigned long)getvar_i(av[0]) ^ (unsigned long)getvar_i(av[1]));
- break;
-
- case B_lo: