Date: Sat Mar 28 20:37:16 CET 2009
User: Derick Rethans
Directory: xdebug
Log Message:
[0.25]
- Fixed bug #418: compilation breaks with CodeWarrior for NetWare.
Modified files:
xdebug/xdebug_code_coverage.c (version: 1.49)
[FILE: /xdebug/xdebug_code_coverage.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- xdebug/xdebug_code_coverage.c:1.48 Sat Mar 28 14:58:12 2009 GMT
+++ xdebug/xdebug_code_coverage.c Sat Mar 28 18:37:16 2009 GMT
@@ -223,7 +223,7 @@
unsigned int i;
xdebug_set *set = NULL;
- opa->reserved[XG(reserved_offset)] = 1;
+ opa->reserved[XG(reserved_offset)] = (void*) 1;
/* Check for abstract methods and simply return from this function in those
* cases. */
@@ -262,7 +262,7 @@
new_filename = va_arg(args, char*);
if (opa->type == ZEND_USER_FUNCTION) {
- if (opa->reserved[XG(reserved_offset)] != 1/* && opa->filename && strcmp(opa->filename, new_filename) == 0)*/) {
+ if (opa->reserved[XG(reserved_offset)] != (void*) 1 /* && opa->filename && strcmp(opa->filename, new_filename) == 0)*/) {
prefill_from_oparray(opa->filename, opa TSRMLS_CC);
}
}
@@ -290,7 +290,7 @@
void xdebug_prefill_code_coverage(zend_op_array *op_array TSRMLS_DC)
{
- if (op_array->reserved[XG(reserved_offset)] != 1) {
+ if (op_array->reserved[XG(reserved_offset)] != (void*) 1) {
prefill_from_oparray(op_array->filename, op_array TSRMLS_CC);
}
Received on Sat Mar 28 2009 - 20:37:21 GMT
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST