Commit 65fcd21
committed
MSVC: Fix warning C4244 in zend_get_gc_buffer_use
This PR addresses a compilation warning of the form:
warning C4244: '=': conversion from '__int64' to 'int', possible loss of data
The expression gc_buffer->cur - gc_buffer->start produces a temporary of type ptrdiff_t, which is then assigned to an int. It causes said compilation warning if these types do not match.1 parent 8ffedc8 commit 65fcd21
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
0 commit comments