Revision: 65135
http://sourceforge.net/p/brlcad/code/65135
Author: ejno
Date: 2015-06-01 19:45:28 +0000 (Mon, 01 Jun 2015)
Log Message:
-----------
fix warning: 'implicit conversion from void * not permitted in C++'
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-06-01 19:08:05 UTC (rev
65134)
+++ brlcad/trunk/src/librt/primitives/xxx/xxx.c 2015-06-01 19:45:28 UTC (rev
65135)
@@ -311,7 +311,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