1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/cad/mars/files/patch-sim_file.c
Martin Wilke ae47d2196b - Fix build with GCC 4.2
- Remove most warnings
- Add OPTIONS Knob
- Pass maintainership to submitter

PR:		118246
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
Approved by:	portmgr (pav)
2007-11-27 22:49:01 +00:00

12 lines
467 B
C

--- sim/file.c.orig 2007-11-23 23:15:16.000000000 +0100
+++ sim/file.c 2007-11-23 23:16:18.000000000 +0100
@@ -252,7 +252,7 @@
#ifndef NoX
if (doXstuff) {
- if (((COMP_OBJECT) c1->co_picture = (COMP_OBJECT)pop_comp_window((COMPONENT *)c1,xpos, ypos)) == (COMP_OBJECT) NULL) {
+ if (( c1->co_picture = (COMP_OBJECT)pop_comp_window((COMPONENT *)c1,xpos, ypos)) == NULL) {
#ifdef DEBUG
dbg_write(debug_log, DBG_ERR, (Component *)NULL,