MSVC8 warning fix

This commit is contained in:
Scott Ehlert 2006-06-05 05:24:59 +00:00
parent 9edf20866b
commit 5940b4a6ca

View File

@ -144,7 +144,7 @@ bool NVault::_SaveToFile()
key = (*iter).key; key = (*iter).key;
val = (*iter).val; val = (*iter).val;
stamp = (*iter).stamp; stamp = (*iter).stamp;
bw.WriteInt32(stamp); bw.WriteInt32(static_cast<int32_t>(stamp));
bw.WriteUInt8( key.size() ); bw.WriteUInt8( key.size() );
bw.WriteUInt16( val.size() ); bw.WriteUInt16( val.size() );
bw.WriteChars( key.c_str(), key.size() ); bw.WriteChars( key.c_str(), key.size() );