mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-03 22:36:23 +00:00
Fix compiler warnings, explicitly cast by default
This commit is contained in:
@@ -85,15 +85,20 @@ int Dec(int value,int d,int n){
|
||||
return log_power(value, d, n);
|
||||
}
|
||||
|
||||
#ifdef __WIN32
|
||||
int Handle(EXCEPTION_POINTERS *ep,char* Origin){
|
||||
assert(false);
|
||||
std::stringstream R;
|
||||
R << Sec("Code : ") << std::hex
|
||||
//<< ep->ExceptionRecord->ExceptionCode
|
||||
<< ep->ExceptionRecord->ExceptionCode
|
||||
<< std::dec << Sec(" Origin : ") << Origin;
|
||||
except(R.str());
|
||||
return 1;
|
||||
}
|
||||
#else
|
||||
// stub
|
||||
int Handle(EXCEPTION_POINTERS *, char*) { return 1; }
|
||||
#endif // __WIN32
|
||||
|
||||
std::string RSA_E(const std::string& Data, RSA*k){
|
||||
std::stringstream stream;
|
||||
|
||||
Reference in New Issue
Block a user