remove last msvc warnings

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@448 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2006-01-07 10:31:24 +00:00
parent e06a92ea87
commit f09bf76ce3
2 changed files with 13 additions and 8 deletions

View file

@ -204,7 +204,7 @@ namespace Loki
// read the result
operator int() const {
return result_;
return static_cast<int>(result_);
}
private:
@ -341,7 +341,7 @@ namespace Loki
memcpy(fmtBuf, fmt, (format_ - fmt) * sizeof(Char));
fmtBuf[format_ - fmt] = 0;
#ifdef _MSC_VER
const int stored = _snprintf(resultBuf,
const int stored = _snprintf_s(resultBuf,
#else
const int stored = snprintf(resultBuf,
#endif