mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
Make btHashString const-correct by changing a target pointer type.
This commit is contained in:
parent
29271c53eb
commit
d8b5ebd818
@ -52,7 +52,7 @@ struct btHashString
|
||||
{
|
||||
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;
|
||||
|
||||
if ( ret < 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user