Kaydet (Commit) 77b19e35 authored tarafından Herbert Dürr's avatar Herbert Dürr

#i122208# avoid signedness warnings in signed-char build environments

üst 4f49f1d9
...@@ -947,7 +947,7 @@ struct CStringHash ...@@ -947,7 +947,7 @@ struct CStringHash
size_t operator()( const char* p) const { size_t operator()( const char* p) const {
size_t n = 0; size_t n = 0;
while( *p) while( *p)
n += 4*n + *(p++); n += 4*n + *static_cast<unsigned char*>(p++);
return n; return n;
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment