commit: r399 - in trunk: daemon stdutil/src
[email protected] Thu, 09 Oct 2008 02:39:34 -0400
| Newsgroups | gmane.network.spread.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: jonathan Date: 2008-10-09 02:39:34 -0400 (Thu, 09 Oct 2008) New Revision: 399 Modified: trunk/daemon/Changelog trunk/stdutil/src/stdutil.c Log: Fix compile fault caused by #define split over two lines. Modified: trunk/daemon/Changelog =================================================================== --- trunk/daemon/Changelog 2008-03-10 04:50:28 UTC (rev 398) +++ trunk/daemon/Changelog 2008-10-09 06:39:34 UTC (rev 399) @@ -1,3 +1,8 @@ +Thu Oct 9 02:33:50 2008 Jonathan Stanton <[email protected]> + + * stdutil.c (stdhcode_sfh_get16bits): Fix broken compile because + of #define split over two lines. + Mon Mar 10 00:45:21 2008 Jonathan Stanton <[email protected]> * configure.in, libspread/Makefile.in: Add version number Modified: trunk/stdutil/src/stdutil.c =================================================================== --- trunk/stdutil/src/stdutil.c 2008-03-10 04:50:28 UTC (rev 398) +++ trunk/stdutil/src/stdutil.c 2008-10-09 06:39:34 UTC (rev 399) @@ -219,7 +219,7 @@ defined (__BORLANDC__) || defined (__TURBOC__)) # define stdhcode_sfh_get16bits(d) ( *((const stduint16*)(d)) ) #else -# define stdhcode_sfh_get16bits(d) ( ((stduint32) *((const stduint8 *)(d) + 1) << 8) | +# define stdhcode_sfh_get16bits(d) ( ((stduint32) *((const stduint8 *)(d) + 1) << 8) | \ (stduint32) *(const stduint8 *)(d) ) #endif