Revision: 65091
http://sourceforge.net/p/brlcad/code/65091
Author: ejno
Date: 2015-05-29 12:46:55 +0000 (Fri, 29 May 2015)
Log Message:
-----------
cast result of bu_calloc() to uint8_t* rather than void*
Modified Paths:
--------------
brlcad/trunk/src/librt/primitives/xxx/xxx.c
Modified: brlcad/trunk/src/librt/primitives/xxx/xxx.c
===================================================================
--- brlcad/trunk/src/librt/primitives/xxx/xxx.c 2015-05-29 04:17:46 UTC (rev
65090)
+++ brlcad/trunk/src/librt/primitives/xxx/xxx.c 2015-05-29 12:46:55 UTC (rev
65091)
@@ -355,7 +355,7 @@
BU_CK_EXTERNAL(ep);
ep->ext_nbytes = SIZEOF_NETWORK_DOUBLE * ELEMENTS_PER_VECT;
- ep->ext_buf = (void *)bu_calloc(1, ep->ext_nbytes, "xxx external");
+ ep->ext_buf = (uint8_t *)bu_calloc(1, ep->ext_nbytes, "xxx external");
/* Since libwdb users may want to operate in units other than mm,
* we offer the opportunity to scale the solid (to get it into mm)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits