]> granicus.if.org Git - php/commit
Fix compilation error on mac with -Wshift-negative-value
authorTyson Andre <tysonandre775@hotmail.com>
Sat, 21 Mar 2020 15:56:44 +0000 (11:56 -0400)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 23 Mar 2020 08:24:26 +0000 (09:24 +0100)
commit26b9780d02bba64abf0787f08524e29f73c06c94
treeabf362dee0404696d5fb5aa485a67b0b75a1fa85
parentdcca0391e202d7fc737634ba70d60d57c7973ccb
Fix compilation error on mac with -Wshift-negative-value

Fix for mac OS build error seen in ccc49ead681add7bdf6a021c7a3420aff543bc1e
when shifting -1 (max argument count?)

```
ext/opcache/jit/zend_jit_trace.c:1668:2:
error: shifting a negative signed value is undefined
[-Werror,-Wshift-negative-value]
        TRACE_FRAME_INIT(frame, op_array, 0, -1);
```

Closes GH-5284.
ext/opcache/jit/zend_jit_internal.h