summaryrefslogtreecommitdiff
path: root/src/vm/interoputil.cpp
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2015-08-05 16:00:00 -0700
committerJan Kotas <jkotas@microsoft.com>2015-08-05 16:14:04 -0700
commite222536b41729093647689e7507e944fed490d08 (patch)
tree692391267ca6c3d2576fd3771ce7f78722238900 /src/vm/interoputil.cpp
parentc32d22b11658f006b19b3094984edefeedf03215 (diff)
downloadcoreclr-e222536b41729093647689e7507e944fed490d08.tar.gz
coreclr-e222536b41729093647689e7507e944fed490d08.tar.bz2
coreclr-e222536b41729093647689e7507e944fed490d08.zip
Fix build breaks on VS2015 RTM
Most of the changes are about mismatches between printf formatting strings and argument types. Fix #1294.
Diffstat (limited to 'src/vm/interoputil.cpp')
-rw-r--r--src/vm/interoputil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/interoputil.cpp b/src/vm/interoputil.cpp
index 2008938f6d..4d198a5c0f 100644
--- a/src/vm/interoputil.cpp
+++ b/src/vm/interoputil.cpp
@@ -2815,7 +2815,7 @@ void SafeReleaseStream(IStream *pStream)
#ifdef _DEBUG
wchar_t logStr[200];
- swprintf_s(logStr, NumItems(logStr), W("Object gone: CoReleaseMarshalData returned %x, file %s, line %d\n"), hr, __FILE__, __LINE__);
+ swprintf_s(logStr, NumItems(logStr), W("Object gone: CoReleaseMarshalData returned %x, file %S, line %d\n"), hr, __FILE__, __LINE__);
LogInterop(logStr);
if (hr != S_OK)
{
@@ -2825,7 +2825,7 @@ void SafeReleaseStream(IStream *pStream)
ULARGE_INTEGER li2;
pStream->Seek(li, STREAM_SEEK_SET, &li2);
hr = CoReleaseMarshalData(pStream);
- swprintf_s(logStr, NumItems(logStr), W("Object gone: CoReleaseMarshalData returned %x, file %s, line %d\n"), hr, __FILE__, __LINE__);
+ swprintf_s(logStr, NumItems(logStr), W("Object gone: CoReleaseMarshalData returned %x, file %S, line %d\n"), hr, __FILE__, __LINE__);
LogInterop(logStr);
}
#endif