Cleared "signed/unsigned" warning introduced by 1997c21b37 under GCC. The ultimate fix is to guard the std::streamsize specialization to ensure Microsoft compilers don't see it
parent
fedd08f15c
commit
30b706316b
3
misc.h
3
misc.h
|
|
@ -370,7 +370,8 @@ inline bool SafeConvert(T1 from, T2 &to)
|
|||
return true;
|
||||
}
|
||||
|
||||
#ifndef CRYPTOPP_WIN32_AVAILABLE
|
||||
// MSVC see this as a duplicate specialization
|
||||
#ifndef _MSC_VER
|
||||
// files.cpp, line 235
|
||||
template<>
|
||||
inline bool SafeConvert<size_t,std::streamsize>(size_t from, std::streamsize &to)
|
||||
|
|
|
|||
Loading…
Reference in New Issue