CVS: rdesktop xwin.c,1.182,1.183

Michael Gernoth <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7827

Modified Files:
	xwin.c 
Log Message:
compile fix for older gcc


Index: xwin.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/xwin.c,v
retrieving revision 1.182
retrieving revision 1.183
diff -C2 -d -r1.182 -r1.183
*** xwin.c	28 Feb 2005 01:15:45 -0000	1.182
--- xwin.c	28 Feb 2005 22:38:24 -0000	1.183
***************
*** 765,781 ****
  	{
  		/* *INDENT-OFF* */
  		REPEAT4
  		(
- #ifdef NEED_ALIGN
  			*(out++) = *(data++);
  			*(out++) = *(data++);
  			*(out++) = *(data++);
  			*(out++) = 0;
  #else
  			*((uint32 *) out) = *((uint32 *) data);
  			out += 4;
  			data += 3;
- #endif
  		)
  		/* *INDENT-ON* */
  	}
--- 765,784 ----
  	{
  		/* *INDENT-OFF* */
+ #ifdef NEED_ALIGN
  		REPEAT4
  		(
  			*(out++) = *(data++);
  			*(out++) = *(data++);
  			*(out++) = *(data++);
  			*(out++) = 0;
+ 		)
  #else
+ 		REPEAT4
+ 		(
  			*((uint32 *) out) = *((uint32 *) data);
  			out += 4;
  			data += 3;
  		)
+ #endif
  		/* *INDENT-ON* */
  	}



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.