[brlcad-commits] SF.net SVN: brlcad:[43762] brlcad/trunk/src/librt/primitives/nmg/nmg.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2011-03-07 19:46:41
|
Revision: 43762 http://brlcad.svn.sourceforge.net/brlcad/?rev=43762&view=rev Author: brlcad Date: 2011-03-07 19:46:34 +0000 (Mon, 07 Mar 2011) Log Message: ----------- unnecessary cast Modified Paths: -------------- brlcad/trunk/src/librt/primitives/nmg/nmg.c Modified: brlcad/trunk/src/librt/primitives/nmg/nmg.c =================================================================== --- brlcad/trunk/src/librt/primitives/nmg/nmg.c 2011-03-07 19:42:59 UTC (rev 43761) +++ brlcad/trunk/src/librt/primitives/nmg/nmg.c 2011-03-07 19:46:34 UTC (rev 43762) @@ -2634,7 +2634,7 @@ BU_CK_EXTERNAL(ep); ep->ext_nbytes = tot_size; ep->ext_buf = (genptr_t)bu_calloc(1, ep->ext_nbytes, "nmg external5"); - dp = (unsigned char *)ep->ext_buf; + dp = ep->ext_buf; *(uint32_t *)dp = htonl(DISK_MODEL_VERSION); dp+=SIZEOF_NETWORK_LONG; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |