diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-04-18 10:27:56 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-04-22 13:14:48 -0700 |
commit | 705844e4bb1a9a4402bceb6acc0761b229a066dc (patch) | |
tree | 86bebb4d54b152c14b1289bf298fcf06fc9d202a /src/gc | |
parent | 71ccdf5472c97326305ee116198218e3c9df4c53 (diff) | |
download | coreclr-705844e4bb1a9a4402bceb6acc0761b229a066dc.tar.gz coreclr-705844e4bb1a9a4402bceb6acc0761b229a066dc.tar.bz2 coreclr-705844e4bb1a9a4402bceb6acc0761b229a066dc.zip |
Fixes for GC update
Diffstat (limited to 'src/gc')
-rw-r--r-- | src/gc/gc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gc/gc.cpp b/src/gc/gc.cpp index 837c4bbcec..0ad36aa2db 100644 --- a/src/gc/gc.cpp +++ b/src/gc/gc.cpp @@ -403,7 +403,7 @@ void log_va_msg(const char *fmt, va_list args) pBuffer[0] = '\n'; int buffer_start = 1; - int pid_len = sprintf_s (&pBuffer[buffer_start], BUFFERSIZE - buffer_start, "[%5lld]", GCToOSInterface::GetCurrentThreadIdForLogging()); + int pid_len = sprintf_s (&pBuffer[buffer_start], BUFFERSIZE - buffer_start, "[%5d]", (uint32_t)GCToOSInterface::GetCurrentThreadIdForLogging()); buffer_start += pid_len; memset(&pBuffer[buffer_start], '-', BUFFERSIZE - buffer_start); int msg_len = _vsnprintf(&pBuffer[buffer_start], BUFFERSIZE - buffer_start, fmt, args ); @@ -27041,7 +27041,7 @@ uint32_t gc_heap::bgc_thread_function() Thread* current_thread = GetThread(); BOOL cooperative_mode = TRUE; bgc_thread_id.SetToCurrentThread(); - dprintf (1, ("bgc_thread_id is set to %llx", GCToOSInterface::GetCurrentThreadIdForLogging())); + dprintf (1, ("bgc_thread_id is set to %x", (uint32_t)GCToOSInterface::GetCurrentThreadIdForLogging())); //this also indicates that the thread is ready. background_gc_create_event.Set(); while (1) |