mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
Fix OID string rep
This commit is contained in:
parent
7bd3a9060c
commit
5b9e58768e
@ -129,7 +129,7 @@ namespace mongo {
|
||||
if( u < 16 ) s << '0';
|
||||
s << u;
|
||||
}
|
||||
const char * raw = (const char*)&b;
|
||||
const unsigned char * raw = (const unsigned char*)&b;
|
||||
for( int i = 0; i < 4; i++ ) {
|
||||
unsigned u = raw[i];
|
||||
if( u < 16 ) s << '0';
|
||||
|
Loading…
Reference in New Issue
Block a user