Revision: 57038
          http://sourceforge.net/p/brlcad/code/57038
Author:   starseeker
Date:     2013-08-21 15:35:03 +0000 (Wed, 21 Aug 2013)
Log Message:
-----------
Match type to the _buff type - mismatch was an error in clang

Modified Paths:
--------------
    brlcad/trunk/src/other/stepcode/src/base/judy/src/judyS2Array.h
    brlcad/trunk/src/other/stepcode/src/base/judy/src/judySArray.h

Modified: brlcad/trunk/src/other/stepcode/src/base/judy/src/judyS2Array.h
===================================================================
--- brlcad/trunk/src/other/stepcode/src/base/judy/src/judyS2Array.h     
2013-08-21 15:34:20 UTC (rev 57037)
+++ brlcad/trunk/src/other/stepcode/src/base/judy/src/judyS2Array.h     
2013-08-21 15:35:03 UTC (rev 57038)
@@ -49,7 +49,7 @@
 
         explicit judyS2Array( const judyS2Array< JudyValue > & other ): 
_maxKeyLen( other._maxKeyLen ), _success( other._success ) {
             _judyarray = judy_clone( other._judyarray );
-            _buff = new char[_maxKeyLen];
+            _buff = new unsigned char[_maxKeyLen];
             strncpy( _buff, other._buff, _maxKeyLen );
             _buff[ _maxKeyLen ] = '\0'; //ensure that _buff is 
null-terminated, since strncpy won't necessarily do so
             find( _buff ); //set _lastSlot

Modified: brlcad/trunk/src/other/stepcode/src/base/judy/src/judySArray.h
===================================================================
--- brlcad/trunk/src/other/stepcode/src/base/judy/src/judySArray.h      
2013-08-21 15:34:20 UTC (rev 57037)
+++ brlcad/trunk/src/other/stepcode/src/base/judy/src/judySArray.h      
2013-08-21 15:35:03 UTC (rev 57038)
@@ -38,7 +38,7 @@
 
         explicit judySArray( const judySArray< JudyValue > & other ): 
_maxKeyLen( other._maxKeyLen ), _success( other._success ) {
             _judyarray = judy_clone( other._judyarray );
-            _buff = new char[_maxKeyLen];
+            _buff = new unsigned char[_maxKeyLen];
             strncpy( _buff, other._buff, _maxKeyLen );
             _buff[ _maxKeyLen ] = '\0'; //ensure that _buff is 
null-terminated, since strncpy won't necessarily do so
             find( _buff ); //set _lastSlot

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to