fix worker endless loop on 64-bit platform if 33+ backend has fall
diff --git a/src/http/ngx_http_upstream_round_robin.c b/src/http/ngx_http_upstream_round_robin.c
index 359a736..b54e7a7 100644
--- a/src/http/ngx_http_upstream_round_robin.c
+++ b/src/http/ngx_http_upstream_round_robin.c
@@ -215,7 +215,7 @@
rrp->current = rrp->peers->current;
n = rrp->current / (8 * sizeof(uintptr_t));
- m = 1 << rrp->current % (8 * sizeof(uintptr_t));
+ m = (uintptr_t) 1 << rrp->current % (8 * sizeof(uintptr_t));
if (!(rrp->tried[n] & m)) {
peer = &rrp->peers->peer[rrp->current];
@@ -268,7 +268,7 @@
} else {
for ( ;; ) {
n = rrp->current / (8 * sizeof(uintptr_t));
- m = 1 << rrp->current % (8 * sizeof(uintptr_t));
+ m = (uintptr_t) 1 << rrp->current % (8 * sizeof(uintptr_t));
if (!(rrp->tried[n] & m)) {