Skip to content

Commit fc1a012

Browse files
committed
Fix Windows build
Don't add to a void pointer.
1 parent 062c09e commit fc1a012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqlnd/mysqlnd_wireprotocol.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,7 @@ php_mysqlnd_read_row_ex(MYSQLND_PFC * pfc,
14071407
memcpy(buffer->ptr, buf, *data_size);
14081408
efree(buf);
14091409
}
1410-
p = buffer->ptr + *data_size;
1410+
p = (zend_uchar *) buffer->ptr + *data_size;
14111411
*data_size += header.size;
14121412

14131413
if (UNEXPECTED(PASS != (ret = pfc->data->m.receive(pfc, vio, p, header.size, stats, error_info)))) {

0 commit comments

Comments
 (0)