|
| 1 | +Index: src/http/modules/ngx_http_fastcgi_module.c |
| 2 | +=================================================================== |
| 3 | +--- a/src/http/modules/ngx_http_fastcgi_module.c |
| 4 | ++++ b/src/http/modules/ngx_http_fastcgi_module.c |
| 5 | +@@ -3265,5 +3265,6 @@ |
| 6 | + } |
| 7 | + |
| 8 | +- copy->code = (ngx_http_script_code_pt) ngx_http_script_copy_len_code; |
| 9 | ++ copy->code = (ngx_http_script_code_pt) (void *) |
| 10 | ++ ngx_http_script_copy_len_code; |
| 11 | + copy->len = src[i].key.len; |
| 12 | + |
| 13 | +@@ -3274,5 +3275,6 @@ |
| 14 | + } |
| 15 | + |
| 16 | +- copy->code = (ngx_http_script_code_pt) ngx_http_script_copy_len_code; |
| 17 | ++ copy->code = (ngx_http_script_code_pt) (void *) |
| 18 | ++ ngx_http_script_copy_len_code; |
| 19 | + copy->len = src[i].skip_empty; |
| 20 | + |
| 21 | + |
| 22 | +Index: src/http/modules/ngx_http_grpc_module.c |
| 23 | +=================================================================== |
| 24 | +--- a/src/http/modules/ngx_http_grpc_module.c |
| 25 | ++++ b/src/http/modules/ngx_http_grpc_module.c |
| 26 | +@@ -4390,5 +4390,6 @@ |
| 27 | + } |
| 28 | + |
| 29 | +- copy->code = (ngx_http_script_code_pt) ngx_http_script_copy_len_code; |
| 30 | ++ copy->code = (ngx_http_script_code_pt) (void *) |
| 31 | ++ ngx_http_script_copy_len_code; |
| 32 | + copy->len = src[i].key.len; |
| 33 | + |
| 34 | + |
| 35 | +Index: src/http/modules/ngx_http_proxy_module.c |
| 36 | +=================================================================== |
| 37 | +--- a/src/http/modules/ngx_http_proxy_module.c |
| 38 | ++++ b/src/http/modules/ngx_http_proxy_module.c |
| 39 | +@@ -3494,5 +3494,6 @@ |
| 40 | + } |
| 41 | + |
| 42 | +- copy->code = (ngx_http_script_code_pt) ngx_http_script_copy_len_code; |
| 43 | ++ copy->code = (ngx_http_script_code_pt) (void *) |
| 44 | ++ ngx_http_script_copy_len_code; |
| 45 | + copy->len = src[i].key.len; |
| 46 | + |
| 47 | + |
| 48 | +Index: src/http/modules/ngx_http_scgi_module.c |
| 49 | +=================================================================== |
| 50 | +--- a/src/http/modules/ngx_http_scgi_module.c |
| 51 | ++++ b/src/http/modules/ngx_http_scgi_module.c |
| 52 | +@@ -1725,5 +1725,6 @@ |
| 53 | + } |
| 54 | + |
| 55 | +- copy->code = (ngx_http_script_code_pt) ngx_http_script_copy_len_code; |
| 56 | ++ copy->code = (ngx_http_script_code_pt) (void *) |
| 57 | ++ ngx_http_script_copy_len_code; |
| 58 | + copy->len = src[i].key.len + 1; |
| 59 | + |
| 60 | +@@ -1734,5 +1735,6 @@ |
| 61 | + } |
| 62 | + |
| 63 | +- copy->code = (ngx_http_script_code_pt) ngx_http_script_copy_len_code; |
| 64 | ++ copy->code = (ngx_http_script_code_pt) (void *) |
| 65 | ++ ngx_http_script_copy_len_code; |
| 66 | + copy->len = src[i].skip_empty; |
| 67 | + |
| 68 | + |
| 69 | +Index: src/http/modules/ngx_http_uwsgi_module.c |
| 70 | +=================================================================== |
| 71 | +--- a/src/http/modules/ngx_http_uwsgi_module.c |
| 72 | ++++ b/src/http/modules/ngx_http_uwsgi_module.c |
| 73 | +@@ -1988,5 +1988,6 @@ |
| 74 | + } |
| 75 | + |
| 76 | +- copy->code = (ngx_http_script_code_pt) ngx_http_script_copy_len_code; |
| 77 | ++ copy->code = (ngx_http_script_code_pt) (void *) |
| 78 | ++ ngx_http_script_copy_len_code; |
| 79 | + copy->len = src[i].key.len; |
| 80 | + |
| 81 | +@@ -1997,5 +1998,6 @@ |
| 82 | + } |
| 83 | + |
| 84 | +- copy->code = (ngx_http_script_code_pt) ngx_http_script_copy_len_code; |
| 85 | ++ copy->code = (ngx_http_script_code_pt) (void *) |
| 86 | ++ ngx_http_script_copy_len_code; |
| 87 | + copy->len = src[i].skip_empty; |
| 88 | + |
| 89 | + |
| 90 | +Index: src/http/ngx_http_script.c |
| 91 | +=================================================================== |
| 92 | +--- a/src/http/ngx_http_script.c |
| 93 | ++++ b/src/http/ngx_http_script.c |
| 94 | +@@ -696,5 +696,6 @@ |
| 95 | + } |
| 96 | + |
| 97 | +- code->code = (ngx_http_script_code_pt) ngx_http_script_copy_len_code; |
| 98 | ++ code->code = (ngx_http_script_code_pt) (void *) |
| 99 | ++ ngx_http_script_copy_len_code; |
| 100 | + code->len = len; |
| 101 | + |
| 102 | +@@ -785,5 +786,6 @@ |
| 103 | + } |
| 104 | + |
| 105 | +- code->code = (ngx_http_script_code_pt) ngx_http_script_copy_var_len_code; |
| 106 | ++ code->code = (ngx_http_script_code_pt) (void *) |
| 107 | ++ ngx_http_script_copy_var_len_code; |
| 108 | + code->index = (uintptr_t) index; |
| 109 | + |
| 110 | +@@ -1179,6 +1181,6 @@ |
| 111 | + } |
| 112 | + |
| 113 | +- code->code = (ngx_http_script_code_pt) |
| 114 | +- ngx_http_script_copy_capture_len_code; |
| 115 | ++ code->code = (ngx_http_script_code_pt) (void *) |
| 116 | ++ ngx_http_script_copy_capture_len_code; |
| 117 | + code->n = 2 * n; |
| 118 | + |
| 119 | +@@ -1294,5 +1296,6 @@ |
| 120 | + } |
| 121 | + |
| 122 | +- code->code = (ngx_http_script_code_pt) ngx_http_script_full_name_len_code; |
| 123 | ++ code->code = (ngx_http_script_code_pt) (void *) |
| 124 | ++ ngx_http_script_full_name_len_code; |
| 125 | + code->conf_prefix = sc->conf_prefix; |
| 126 | + |
| 127 | + |
| 128 | +Index: src/stream/ngx_stream_script.c |
| 129 | +=================================================================== |
| 130 | +--- a/src/stream/ngx_stream_script.c |
| 131 | ++++ b/src/stream/ngx_stream_script.c |
| 132 | +@@ -588,5 +588,6 @@ |
| 133 | + } |
| 134 | + |
| 135 | +- code->code = (ngx_stream_script_code_pt) ngx_stream_script_copy_len_code; |
| 136 | ++ code->code = (ngx_stream_script_code_pt) (void *) |
| 137 | ++ ngx_stream_script_copy_len_code; |
| 138 | + code->len = len; |
| 139 | + |
| 140 | +@@ -678,6 +679,6 @@ |
| 141 | + } |
| 142 | + |
| 143 | +- code->code = (ngx_stream_script_code_pt) |
| 144 | +- ngx_stream_script_copy_var_len_code; |
| 145 | ++ code->code = (ngx_stream_script_code_pt) (void *) |
| 146 | ++ ngx_stream_script_copy_var_len_code; |
| 147 | + code->index = (uintptr_t) index; |
| 148 | + |
| 149 | +@@ -768,6 +769,6 @@ |
| 150 | + } |
| 151 | + |
| 152 | +- code->code = (ngx_stream_script_code_pt) |
| 153 | +- ngx_stream_script_copy_capture_len_code; |
| 154 | ++ code->code = (ngx_stream_script_code_pt) (void *) |
| 155 | ++ ngx_stream_script_copy_capture_len_code; |
| 156 | + code->n = 2 * n; |
| 157 | + |
| 158 | +@@ -860,5 +861,5 @@ |
| 159 | + } |
| 160 | + |
| 161 | +- code->code = (ngx_stream_script_code_pt) |
| 162 | ++ code->code = (ngx_stream_script_code_pt) (void *) |
| 163 | + ngx_stream_script_full_name_len_code; |
| 164 | + code->conf_prefix = sc->conf_prefix; |
| 165 | + |
| 166 | + |
0 commit comments