Commit
fix warnings emitted by clang
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1932,7 +1932,7 @@ Expression *Expression::copy() | |
} | ||
e = (Expression *)mem.malloc(size); | ||
//printf("Expression::copy(op = %d) e = %p\n", op, e); | ||
return (Expression *)memcpy(e, this, size); | ||
return (Expression *)memcpy((void*)e, (void*)this, size); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ibuclaw
Member
|
||
} | ||
|
||
/************************** | ||
|
These memcpy changes broke DDMD, just FYI. What exactly was wrong with the original code?