Revision: 52497
http://brlcad.svn.sourceforge.net/brlcad/?rev=52497&view=rev
Author: n_reed
Date: 2012-09-18 18:31:24 +0000 (Tue, 18 Sep 2012)
Log Message:
-----------
can't assign to lvalue cast to int
Modified Paths:
--------------
brlcad/trunk/include/bu.h
Modified: brlcad/trunk/include/bu.h
===================================================================
--- brlcad/trunk/include/bu.h 2012-09-18 18:04:57 UTC (rev 52496)
+++ brlcad/trunk/include/bu.h 2012-09-18 18:31:24 UTC (rev 52497)
@@ -250,7 +250,7 @@
*
* Memory acquired with BU_GET() should be returned with BU_PUT().
*/
-#define BU_PUT(_ptr, _type) (uint8_t)(*(_ptr)) = /*zap*/ 0; bu_free(_ptr,
#_type " (BU_PUT) " BU_FLSTR); _ptr = NULL
+#define BU_PUT(_ptr, _type) *(uint8_t *)(_ptr) = /*zap*/ 0; bu_free(_ptr,
#_type " (BU_PUT) " BU_FLSTR); _ptr = NULL
/**
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits