[brlcad-commits] SF.net SVN: brlcad: [31254] brlcad/trunk/src/librt/g_hyp.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <eri...@us...> - 2008-06-01 18:18:49
|
Revision: 31254 http://brlcad.svn.sourceforge.net/brlcad/?rev=31254&view=rev Author: erikgreenwald Date: 2008-06-01 11:18:56 -0700 (Sun, 01 Jun 2008) Log Message: ----------- minor cast fix for ntohd Modified Paths: -------------- brlcad/trunk/src/librt/g_hyp.c Modified: brlcad/trunk/src/librt/g_hyp.c =================================================================== --- brlcad/trunk/src/librt/g_hyp.c 2008-06-01 17:08:24 UTC (rev 31253) +++ brlcad/trunk/src/librt/g_hyp.c 2008-06-01 18:18:56 UTC (rev 31254) @@ -697,7 +697,7 @@ * (Big Endian ints, IEEE double floating point) to host local data * representations. */ - ntohd( (unsigned char *)&vv, (char *)ep->ext_buf, ELEMENTS_PER_VECT*1 ); + ntohd( (unsigned char *)&vv, (const unsigned char *)ep->ext_buf, ELEMENTS_PER_VECT*1 ); /* Apply the modeling transformation */ if (mat == NULL) mat = bn_mat_identity; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |