Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Address feedback by @janvorli
Browse files Browse the repository at this point in the history
  • Loading branch information
swaroop-sridhar committed Sep 4, 2019
1 parent ec4b2c5 commit 9d873d6
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 10 deletions.
1 change: 0 additions & 1 deletion src/coreclr/hosts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include_directories(inc)
include_directories(../../inc)

if(WIN32)
add_subdirectory(corerun)
Expand Down
4 changes: 0 additions & 4 deletions src/md/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
if(NOT DEFINED ENV{ROOTFS_DIR})
include_directories(SYSTEM /usr/local/include)
endif()

add_subdirectory(compiler)
add_subdirectory(runtime)
add_subdirectory(enc)
Expand Down
2 changes: 1 addition & 1 deletion src/pal/src/loader/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ PVOID
PALAPI
PAL_LOADLoadPEFile(HANDLE hFile, size_t offset)
{
ENTRY("PAL_LOADLoadPEFile (hFile=%p, offset=%x)\n", hFile, offset);
ENTRY("PAL_LOADLoadPEFile (hFile=%p, offset=%zx)\n", hFile, offset);

void * loadedBase = MAPMapPEFile(hFile, offset);

Expand Down
4 changes: 2 additions & 2 deletions src/pal/src/map/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ CorUnix::InternalMapViewOfFile(
CFileMappingImmutableData *pImmutableData = NULL;
CFileMappingProcessLocalData *pProcessLocalData = NULL;
IDataLock *pProcessLocalDataLock = NULL;
INT64 offset = (INT64)dwFileOffsetHigh | (INT64)dwFileOffsetLow;
INT64 offset = ((INT64)dwFileOffsetHigh << 32) | (INT64)dwFileOffsetLow;

#if ONE_SHARED_MAPPING_PER_FILEREGION_PER_PROCESS
PMAPPED_VIEW_LIST pReusedMapping = NULL;
Expand Down Expand Up @@ -2218,7 +2218,7 @@ void * MAPMapPEFile(HANDLE hFile, off_t offset)
char* envVar;
#endif

ENTRY("MAPMapPEFile (hFile=%p offset=%x)\n", hFile, offset);
ENTRY("MAPMapPEFile (hFile=%p offset=%zx)\n", hFile, offset);

//Step 0: Verify values, find internal pal data structures.
if (INVALID_HANDLE_VALUE == hFile)
Expand Down
2 changes: 1 addition & 1 deletion src/vm/appdomain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1820,7 +1820,7 @@ void SystemDomain::Init()
sizeof(MethodDesc),
sizeof(FieldDesc),
sizeof(Module)
));
));
#endif // _DEBUG

// The base domain is initialized in SystemDomain::Attach()
Expand Down
2 changes: 1 addition & 1 deletion src/vm/ceemain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ HRESULT InitializeEE(COINITIEE flags, const BundleInfo* bundleInfo)
{
WRAPPER_NO_CONTRACT;
#ifdef FEATURE_EVENT_TRACE
if(!g_fEEComActivatedStartup)
if (!g_fEEComActivatedStartup)
g_fEEOtherStartup = TRUE;
#endif // FEATURE_EVENT_TRACE
return EnsureEEStarted(flags, bundleInfo);
Expand Down

0 comments on commit 9d873d6

Please sign in to comment.