[R-gregmisc-users] SF.net SVN: r-gregmisc:[1844] trunk/SASxport/src/writeSAS.h
Brought to you by:
warnes
From: <wa...@us...> - 2014-07-19 03:31:03
|
Revision: 1844 http://sourceforge.net/p/r-gregmisc/code/1844 Author: warnes Date: 2014-07-19 03:31:00 +0000 (Sat, 19 Jul 2014) Log Message: ----------- Fix copy-paste error Modified Paths: -------------- trunk/SASxport/src/writeSAS.h Modified: trunk/SASxport/src/writeSAS.h =================================================================== --- trunk/SASxport/src/writeSAS.h 2014-07-18 20:47:17 UTC (rev 1843) +++ trunk/SASxport/src/writeSAS.h 2014-07-19 03:31:00 UTC (rev 1844) @@ -50,9 +50,9 @@ #endif /* Convert (if necessary) to Big-Endian */ -# define HTOBE_SHORT(a) host_to_be( (unsigned char*) &a, sizeof(short) ) -# define HTOBE_INT(a) host_to_be( (unsigned char*) &a, sizeof(int) ) -# define HTOBE_DOUBLE(a) host_to_be( (unsigned char*) value, sizeof(double) ); +# define HTOBE_SHORT(a) host_to_be( (unsigned char*) &a, sizeof(short) ) +# define HTOBE_INT(a) host_to_be( (unsigned char*) &a, sizeof(int) ) +# define HTOBE_DOUBLE(a) host_to_be( (unsigned char*) &a, sizeof(double) ) /* Alternative definition using system functions: */ /* #define HTOBE_SHORT(a) (a) = htons( a ) */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |