mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
fix Clang warnings in windows.cpp
This commit is contained in:
parent
6aba7bef5a
commit
3af278b5e6
@ -876,7 +876,7 @@ class MySystem: public System {
|
||||
virtual void abort() {
|
||||
// trigger an EXCEPTION_ACCESS_VIOLATION, which we will catch and
|
||||
// generate a debug dump for
|
||||
*static_cast<int*>(0) = 0;
|
||||
*static_cast<volatile int*>(0) = 0;
|
||||
}
|
||||
|
||||
virtual void dispose() {
|
||||
@ -929,7 +929,7 @@ dump(LPEXCEPTION_POINTERS e, const char* directory)
|
||||
char name[MAX_PATH];
|
||||
_timeb tb;
|
||||
FTIME(&tb);
|
||||
vm::snprintf(name, MAX_PATH, "%s\\crash-%"LLD".mdmp", directory,
|
||||
vm::snprintf(name, MAX_PATH, "%s\\crash-%" LLD ".mdmp", directory,
|
||||
(static_cast<int64_t>(tb.time) * 1000)
|
||||
+ static_cast<int64_t>(tb.millitm));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user