mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 06:00:12 +00:00
Merge pull request #1290 from lolengine/fix-const-removal
Make btHashString const-correct by changing a target pointer type.
This commit is contained in:
commit
db8c0853b3
@ -52,7 +52,7 @@ struct btHashString
|
|||||||
{
|
{
|
||||||
int ret = 0 ;
|
int ret = 0 ;
|
||||||
|
|
||||||
while( ! (ret = *(unsigned char *)src - *(unsigned char *)dst) && *dst)
|
while( ! (ret = *(const unsigned char *)src - *(const unsigned char *)dst) && *dst)
|
||||||
++src, ++dst;
|
++src, ++dst;
|
||||||
|
|
||||||
if ( ret < 0 )
|
if ( ret < 0 )
|
||||||
|
Loading…
Reference in New Issue
Block a user