[R-gregmisc-users] SF.net SVN: r-gregmisc:[1852] trunk/SASxport/src/writeSAS.c
Brought to you by:
warnes
From: <wa...@us...> - 2014-07-21 13:41:34
|
Revision: 1852 http://sourceforge.net/p/r-gregmisc/code/1852 Author: warnes Date: 2014-07-21 13:41:27 +0000 (Mon, 21 Jul 2014) Log Message: ----------- Call TO_BIGEND_DOUBLE on the pointed to value, not the pointed. Modified Paths: -------------- trunk/SASxport/src/writeSAS.c Modified: trunk/SASxport/src/writeSAS.c =================================================================== --- trunk/SASxport/src/writeSAS.c 2014-07-21 13:38:15 UTC (rev 1851) +++ trunk/SASxport/src/writeSAS.c 2014-07-21 13:41:27 UTC (rev 1852) @@ -302,7 +302,7 @@ /* convert to IBM floating point */ /* first convert to big-endian layout */ - TO_BIGEND_DOUBLE( value ); + TO_BIGEND_DOUBLE( *value ); /* now convert to ibm flaoting point format */ ieee2ibm( (unsigned char *) raw_buffer, (unsigned char *) value, 1); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |